void simple_intersection();
void union_with_empty();
void intersection_with_empty();
- void substraction();
+ void subtraction();
void special_cases();
};
add(&BoundingBoxTests::simple_intersection, "Intersection");
add(&BoundingBoxTests::union_with_empty, "Union with empty");
add(&BoundingBoxTests::intersection_with_empty, "Intersection with empty");
- add(&BoundingBoxTests::substraction, "Substraction");
+ add(&BoundingBoxTests::subtraction, "Subtraction");
add(&BoundingBoxTests::special_cases, "Special cases");
}
EXPECT(bboxi.is_empty());
}
-void BoundingBoxTests::substraction()
+void BoundingBoxTests::subtraction()
{
BoundingBox3 bbox1(Vector3(-1, -1, -1), Vector3(1, 1, 1));
BoundingBox3 bbox2(Vector3(0, -2, -2), Vector3(2, 2, 2));