Lines Matching refs:assertIteratorResult
54 function assertIteratorResult(value, done, result) { function
62 assertIteratorResult('a', false, iterator.next());
63 assertIteratorResult('b', false, iterator.next());
64 assertIteratorResult('c', false, iterator.next());
65 assertIteratorResult(void 0, true, iterator.next());
68 assertIteratorResult(void 0, true, iterator.next());
76 assertIteratorResult('a', false, iterator.next());
77 assertIteratorResult('b', false, iterator.next());
78 assertIteratorResult('c', false, iterator.next());
80 assertIteratorResult('d', false, iterator.next());
81 assertIteratorResult(void 0, true, iterator.next());
89 assertIteratorResult(0, false, iterator.next());
90 assertIteratorResult(1, false, iterator.next());
91 assertIteratorResult(2, false, iterator.next());
92 assertIteratorResult(void 0, true, iterator.next());
95 assertIteratorResult(void 0, true, iterator.next());
103 assertIteratorResult(0, false, iterator.next());
104 assertIteratorResult(1, false, iterator.next());
105 assertIteratorResult(2, false, iterator.next());
107 assertIteratorResult(3, false, iterator.next());
108 assertIteratorResult(void 0, true, iterator.next());
116 assertIteratorResult([0, 'a'], false, iterator.next());
117 assertIteratorResult([1, 'b'], false, iterator.next());
118 assertIteratorResult([2, 'c'], false, iterator.next());
119 assertIteratorResult(void 0, true, iterator.next());
122 assertIteratorResult(void 0, true, iterator.next());
130 assertIteratorResult([0, 'a'], false, iterator.next());
131 assertIteratorResult([1, 'b'], false, iterator.next());
132 assertIteratorResult([2, 'c'], false, iterator.next());
134 assertIteratorResult([3, 'd'], false, iterator.next());
135 assertIteratorResult(void 0, true, iterator.next());