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

Function test_fill_with_stop

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

Source from the content-addressed store, hash-verified

596
597
598def test_fill_with_stop():
599 items = [1, 2, 3]
600 result = [None]
601 pm.eval("(result, arr) => {result[0] = arr.fill(8,1,2)}")(result, items)
602 assert items == [1, 8, 3]
603
604
605def test_fill_with_negative_stop():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected