From: Mikko Rasa Date: Fri, 4 Dec 2015 11:05:23 +0000 (+0200) Subject: Correct a spelling mistake X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=0aaef0b1fd412875137937f9e58ccb480c304be8;p=libs%2Fmath.git Correct a spelling mistake --- diff --git a/tests/boundingbox.cpp b/tests/boundingbox.cpp index 908d68c..f0cae4d 100644 --- a/tests/boundingbox.cpp +++ b/tests/boundingbox.cpp @@ -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));