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