MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / test_fill_with_start

Function test_fill_with_start

tests/python/test_arrays.py:570–574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

568
569
570def test_fill_with_start():
571 items = [1, 2, 3]
572 result = [None]
573 pm.eval("(result, arr) => {result[0] = arr.fill(8,1)}")(result, items)
574 assert items == [1, 8, 8]
575
576
577def test_fill_with_start_negative():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected