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

Function test_includes_start_index

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

Source from the content-addressed store, hash-verified

764
765
766def test_includes_start_index():
767 items = [1, 2, 3]
768 result = [None]
769 pm.eval("(result, arr) => {result[0] = arr.includes(1, 1)}")(result, items)
770 assert not result[0]
771
772
773def test_includes_start_index_negative():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected