* Geometry unit test fix 4.x-dev

Fri, 14 May 2021 13:48:08 +0300

author
cemkalyoncu
date
Fri, 14 May 2021 13:48:08 +0300
branch
4.x-dev
changeset 1669
98020f23cbe1
parent 1668
6fe9b519bc80
child 1670
7615557f4313

* Geometry unit test fix

Testing/Source/Unit/Geometry.cpp file | annotate | diff | comparison | revisions
--- a/Testing/Source/Unit/Geometry.cpp	Fri May 14 13:41:22 2021 +0300
+++ b/Testing/Source/Unit/Geometry.cpp	Fri May 14 13:48:08 2021 +0300
@@ -460,17 +460,17 @@
 	REQUIRE(p4.Y == Approx(8.9));
 	
 	p3=p1;
-	Scale(p3, 2, 0.5);
+	Scale(p3, 2.0, 0.5);
 	REQUIRE(p3 == Point(2, 1));
-	Scale(p3, 2, 0.5, Point{2,3});
+	Scale(p3, 2.0, 0.5, Point{2,3});
 	REQUIRE(p3 == Point(2, 2));
 	
 	p4=p2;
-	Scale(p4, 2, 0.5);
+	Scale(p4, 2.0, 0.5);
 	REQUIRE(p4.X == Approx(2.4));
 	REQUIRE(p4.Y == Approx(1.1));
 	
-	Scale(p4, 2, 0.5, Pointf{2.4f,3.1f});
+	Scale(p4, 2.0, 0.5, Pointf{2.4f,3.1f});
 	REQUIRE(p4.X == Approx(2.4));
 	REQUIRE(p4.Y == Approx(2.1));
 

mercurial