]> git.tdb.fi Git - libs/math.git/commitdiff
Correct a spelling mistake
authorMikko Rasa <tdb@tdb.fi>
Fri, 4 Dec 2015 11:05:23 +0000 (13:05 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 4 Dec 2015 11:05:33 +0000 (13:05 +0200)
tests/boundingbox.cpp

index 908d68c0414530005372d5b69c81d97c0b6d1f60..f0cae4da492540ea17299ebaaf318c480c3a9d25 100644 (file)
@@ -19,7 +19,7 @@ private:
        void simple_intersection();
        void union_with_empty();
        void intersection_with_empty();
-       void substraction();
+       void subtraction();
        void special_cases();
 };
 
@@ -39,7 +39,7 @@ BoundingBoxTests::BoundingBoxTests()
        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");
 }
 
@@ -76,7 +76,7 @@ void BoundingBoxTests::intersection_with_empty()
        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));