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

Method test_tail

functional/test/test_functional.py:179–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

177 self.assertIteratorEqual(result, expect)
178
179 def test_tail(self):
180 l = self.seq([1, 2, 3, 4]).map(lambda x: x)
181 expect = [2, 3, 4]
182 self.assertIteratorEqual(l.tail(), expect)
183
184 def test_inits(self):
185 l = self.seq([1, 2, 3]).map(lambda x: x)

Callers

nothing calls this directly

Calls 3

assertIteratorEqualMethod · 0.95
mapMethod · 0.80
tailMethod · 0.80

Tested by

no test coverage detected