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 import fletch.*; | 5 import fletch.*; |
6 | 6 |
7 import java.io.FileInputStream; | 7 import java.io.FileInputStream; |
8 import java.io.FileNotFoundException; | 8 import java.io.FileNotFoundException; |
9 import java.io.IOException; | 9 import java.io.IOException; |
10 | 10 |
11 import java.util.List; | 11 import java.util.List; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 builder.initRoot(root, NodeBuilder.kSize); | 309 builder.initRoot(root, NodeBuilder.kSize); |
310 buildNode(root, 10); | 310 buildNode(root, 10); |
311 int depth = ConformanceService.depth(root); | 311 int depth = ConformanceService.depth(root); |
312 assert 10 == depth; | 312 assert 10 == depth; |
313 | 313 |
314 Node node = ConformanceService.createNode(10); | 314 Node node = ConformanceService.createNode(10); |
315 assert 24680 == node.computeUsed(); | 315 assert 24680 == node.computeUsed(); |
316 assert 10 == depth(node); | 316 assert 10 == depth(node); |
317 } | 317 } |
318 } | 318 } |
OLD | NEW |