| OLD | NEW | 
|   1 #library('TestUtils'); |   1 #library('TestUtils'); | 
|   2  |   2  | 
|   3 /** |   3 /** | 
|   4  * Verifies that [actual] has the same graph structure as [expected]. |   4  * Verifies that [actual] has the same graph structure as [expected]. | 
|   5  * Detects cycles and DAG structure in Maps and Lists. |   5  * Detects cycles and DAG structure in Maps and Lists. | 
|   6  */ |   6  */ | 
|   7 verifyGraph(expected, actual) { |   7 verifyGraph(expected, actual) { | 
|   8   var eItems = []; |   8   var eItems = []; | 
|   9   var aItems = []; |   9   var aItems = []; | 
|  10  |  10  | 
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  52         } |  52         } | 
|  53       } |  53       } | 
|  54       return; |  54       return; | 
|  55     } |  55     } | 
|  56  |  56  | 
|  57     Expect.fail('Unhandled type: $expected'); |  57     Expect.fail('Unhandled type: $expected'); | 
|  58   } |  58   } | 
|  59  |  59  | 
|  60   walk('', expected, actual); |  60   walk('', expected, actual); | 
|  61 } |  61 } | 
| OLD | NEW |