MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / assertIteratorEqual

Method assertIteratorEqual

functional/test/test_functional.py:34–37  ·  view source on GitHub ↗
(self, iter_0, iter_1)

Source from the content-addressed store, hash-verified

32 self.assertFalse(isinstance(s, Sequence))
33
34 def assertIteratorEqual(self, iter_0, iter_1):
35 seq_0 = list(iter_0)
36 seq_1 = list(iter_1)
37 self.assertListEqual(seq_0, seq_1)
38
39 def test_is_iterable(self):
40 self.assertFalse(is_iterable([]))

Callers 15

test_eqMethod · 0.95
test_initMethod · 0.95
test_tailMethod · 0.95
test_initsMethod · 0.95
test_tailsMethod · 0.95
test_dropMethod · 0.95
test_drop_rightMethod · 0.95
test_drop_whileMethod · 0.95
test_takeMethod · 0.95
test_take_whileMethod · 0.95
test_mapMethod · 0.95
test_selectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected