| OLD | NEW |
| 1 import 'dart:math'; | 1 import 'dart:math'; |
| 2 import 'package:kernel/type_propagation/canonicalizer.dart'; | 2 import 'package:kernel/type_propagation/canonicalizer.dart'; |
| 3 import 'package:test/test.dart'; | 3 import 'package:test/test.dart'; |
| 4 | 4 |
| 5 Random random = new Random(12345); | 5 Random random = new Random(12345); |
| 6 | 6 |
| 7 main() { | 7 main() { |
| 8 test('Uint31PairMap randomized tests', runTest); | 8 test('Uint31PairMap randomized tests', runTest); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 int candidateValue = candidate.lookup(x, y); | 24 int candidateValue = candidate.lookup(x, y); |
| 25 expect(candidateValue, equals(trustedValue)); | 25 expect(candidateValue, equals(trustedValue)); |
| 26 if (trustedValue == null) { | 26 if (trustedValue == null) { |
| 27 int newValue = nextValue++; | 27 int newValue = nextValue++; |
| 28 trusted[key] = newValue; | 28 trusted[key] = newValue; |
| 29 candidate.put(newValue); | 29 candidate.put(newValue); |
| 30 } | 30 } |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 } | 33 } |
| OLD | NEW |