()
| 2645 | |
| 2646 | |
| 2647 | def test_iter_for_of(): |
| 2648 | myit = iter((1, 2)) |
| 2649 | result = [None, None] |
| 2650 | pm.eval("""(result, myit) => {let index = 0; for (const value of myit) {result[index++] = value}}""")(result, myit) |
| 2651 | assert result[0] == 1.0 |
| 2652 | assert result[1] == 2.0 |
nothing calls this directly
no outgoing calls
no test coverage detected