| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library immutable.rbtree_test; | 5 library immutable.rbtree_test; |
| 6 | 6 |
| 7 import 'package:immutable/immutable.dart'; | 7 import 'package:immutable/immutable.dart'; |
| 8 | 8 |
| 9 import 'package:test/test.dart'; | 9 import 'package:test/test.dart'; |
| 10 | 10 |
| 11 main() { | 11 main() { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 26 expect(new LinkedList.fromList([42]).head, 42); | 26 expect(new LinkedList.fromList([42]).head, 42); |
| 27 expect(new LinkedList.fromList([42]).tail, null); | 27 expect(new LinkedList.fromList([42]).tail, null); |
| 28 expect(new LinkedList.fromList([42, 43]).head, 42); | 28 expect(new LinkedList.fromList([42, 43]).head, 42); |
| 29 expect(new LinkedList.fromList([42, 43]).tail.head, 43); | 29 expect(new LinkedList.fromList([42, 43]).tail.head, 43); |
| 30 expect(new LinkedList.fromList([42, 43]).tail.tail, null); | 30 expect(new LinkedList.fromList([42, 43]).tail.tail, null); |
| 31 }); | 31 }); |
| 32 }); | 32 }); |
| 33 }); | 33 }); |
| 34 } | 34 } |
| 35 | 35 |
| OLD | NEW |