diff --git a/tests/triangulation.rs b/tests/triangulation.rs index 7e7bc26..b64e426 100644 --- a/tests/triangulation.rs +++ b/tests/triangulation.rs @@ -37,27 +37,27 @@ fn is_in_mesh_4_obstacles() { ]); triangulation.add_obstacle(vec![ vec2(2.5, 2.5), - vec2(2.5, 4.5), - vec2(4.5, 4.5), - vec2(4.5, 2.5), + vec2(2.5, 5.0), + vec2(5.0, 5.0), + vec2(5.0, 2.5), ]); triangulation.add_obstacle(vec![ - vec2(2.5, 4.5), + vec2(2.5, 5.0), vec2(2.5, 7.5), - vec2(4.5, 7.5), - vec2(4.5, 4.5), + vec2(5.0, 7.5), + vec2(5.0, 5.0), ]); triangulation.add_obstacle(vec![ - vec2(4.5, 2.5), - vec2(4.5, 4.5), - vec2(7.5, 4.5), + vec2(5.0, 2.5), + vec2(5.0, 5.0), + vec2(7.5, 5.0), vec2(7.5, 2.5), ]); triangulation.add_obstacle(vec![ - vec2(4.5, 4.5), - vec2(4.5, 7.5), + vec2(5.0, 5.0), + vec2(5.0, 7.5), vec2(7.5, 7.5), - vec2(7.5, 4.5), + vec2(7.5, 5.0), ]); let mesh: Mesh = triangulation.into(); for i in 0..10 {