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

Function test_includes

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

Source from the content-addressed store, hash-verified

757
758
759def test_includes():
760 items = [1, 2, 3]
761 result = [None]
762 pm.eval("(result, arr) => {result[0] = arr.includes(1)}")(result, items)
763 assert result[0]
764
765
766def test_includes_start_index():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected