Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: tests/html/typed_arrays_simd_test.dart

Issue 58453003: Fix typed_arrays_simd_test.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/typed_arrays_simd_test.dart
diff --git a/tests/html/typed_arrays_simd_test.dart b/tests/html/typed_arrays_simd_test.dart
index f75ad2a178833064519c0ad136e4234d3611658b..b0e3176ce15c1fbfb138ff7b6bdd5f9300509a5d 100644
--- a/tests/html/typed_arrays_simd_test.dart
+++ b/tests/html/typed_arrays_simd_test.dart
@@ -37,8 +37,8 @@ main() {
expect(val2.x, floatEquals(2.0));
expect(val2.y, floatEquals(4.0));
expect(val2.z, floatEquals(6.0));
- expect(val2.w, floatEquals(8.0));
- }
+ expect(val2.w, floatEquals(8.0));
+ }
});
test('test Float32x4List', () {
@@ -68,9 +68,9 @@ main() {
expect(counter.w, floatEquals(21.0));
});
- test('test Uint32x4', () {
+ test('test Int32x4', () {
if (Platform.supportsSimd) {
- final val = new Uint32x4(1, 2, 3, 4);
+ final val = new Int32x4(1, 2, 3, 4);
expect(val.x, equals(1));
expect(val.y, equals(2));
expect(val.z, equals(3));
@@ -79,7 +79,7 @@ main() {
expect(val2.x, equals(0));
expect(val2.y, equals(0));
expect(val2.z, equals(0));
- expect(val2.w, equals(0));
- }
+ expect(val2.w, equals(0));
+ }
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698