library: render: scene: remove ignored test

This commit is contained in:
Bruno BELANYI 2020-03-26 19:03:59 +01:00
parent 8727ae9d87
commit a0d7d5e590

View file

@ -73,7 +73,6 @@ impl Scene {
reflection_limit: u32, reflection_limit: u32,
diffraction_index: f32, diffraction_index: f32,
) -> Self { ) -> Self {
// NOTE(Antoine): fun fact: BVH::build stack overflows when given an empty slice :)
let bvh = BVH::build(&mut objects); let bvh = BVH::build(&mut objects);
Scene { Scene {
camera, camera,
@ -353,8 +352,7 @@ mod test {
} }
#[test] #[test]
#[ignore] // stack overflow because of BVH :( fn empty_scene() {
fn bvh_fails() {
use crate::core::Camera; use crate::core::Camera;
use crate::render::{LightAggregate, Scene}; use crate::render::{LightAggregate, Scene};