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

Function test_reverse

tests/python/test_lists.py:778–782  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

776
777
778def test_reverse():
779 a = pm.eval("[1,2,3,4]")
780 b = a.reverse()
781 assert a == [4, 3, 2, 1]
782 assert b is None
783
784
785def test_reverse_zero_length():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected