testBoxAlgo: allow fuzzy match of b12 == b2

Also fix a pre-existing typo.


Gbp-Pq: Name testBoxAlgo.patch
This commit is contained in:
Steven Chamberlain 2016-02-24 01:04:11 +00:00 committed by openKylinBot
parent 9d3df6226f
commit 73973adca2
1 changed files with 3 additions and 2 deletions

View File

@ -886,10 +886,11 @@ boxMatrixTransform ()
assert (approximatelyEqual (b2.min, b4.min, e)); assert (approximatelyEqual (b2.min, b4.min, e));
assert (approximatelyEqual (b2.max, b4.max, e)); assert (approximatelyEqual (b2.max, b4.max, e));
assert (approximatelyEqual (b3.max, b4.max, e)); assert (approximatelyEqual (b3.min, b4.min, e));
assert (approximatelyEqual (b3.max, b4.max, e)); assert (approximatelyEqual (b3.max, b4.max, e));
assert (b21 == b2); assert (approximatelyEqual (b2.min, b21.min, e));
assert (approximatelyEqual (b2.max, b21.max, e));
assert (b31 == b3); assert (b31 == b3);
M[0][3] = 1; M[0][3] = 1;