| Index: tests/lib/typed_data/float64x2_functional_test.dart
|
| diff --git a/tests/lib/typed_data/float64x2_functional_test.dart b/tests/lib/typed_data/float64x2_functional_test.dart
|
| index fb144e7e3d55a98565c90aac8099f04f4aefc45f..2f06ccf18322afea01c15873571dff2adcf53d7a 100644
|
| --- a/tests/lib/typed_data/float64x2_functional_test.dart
|
| +++ b/tests/lib/typed_data/float64x2_functional_test.dart
|
| @@ -69,10 +69,10 @@ testAdd() {
|
| }
|
|
|
| testSub() {
|
| - var m = new Float64x2(1.0, -2.0);
|
| + var m = new Float64x2(1.5, -2.0);
|
| var n = new Float64x2(1.0, 2.0);
|
| var o = m - n;
|
| - Expect.equals(0.0, o.x);
|
| + Expect.equals(0.5, o.x);
|
| Expect.equals(-4.0, o.y);
|
| }
|
|
|
| @@ -110,11 +110,11 @@ testAbs() {
|
|
|
| testClamp() {
|
| var m = new Float64x2(1.0, -2.0);
|
| - var lo = new Float64x2(0.0, 0.0);
|
| + var lo = new Float64x2(0.0, 0.5);
|
| var hi = new Float64x2(2.0, 2.0);
|
| m = m.clamp(lo, hi);
|
| Expect.equals(1.0, m.x);
|
| - Expect.equals(0.0, m.y);
|
| + Expect.equals(0.5, m.y);
|
| }
|
|
|
| testSignMask() {
|
| @@ -137,10 +137,10 @@ testMin() {
|
| }
|
|
|
| testMax() {
|
| - var m = new Float64x2(0.0, -99.0);
|
| + var m = new Float64x2(0.5, -99.0);
|
| var n = new Float64x2(-1.0, -1.0);
|
| var o = m.max(n);
|
| - Expect.equals(0.0, o.x);
|
| + Expect.equals(0.5, o.x);
|
| Expect.equals(-1.0, o.y);
|
| }
|
|
|
|
|