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

Method test_range

functional/test/test_streams.py:61–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 )
60
61 def test_range(self):
62 self.assertListEqual([0, 1, 2, 3], self.seq.range(4).to_list())
63
64 data = [-5, -3, -1, 1, 3, 5, 7]
65 self.assertListEqual(data, self.seq.range(-5, 8, 2).to_list())
66
67 def test_csv(self):
68 result = self.seq.csv("functional/test/data/test.csv").to_list()

Callers

nothing calls this directly

Calls 2

to_listMethod · 0.80
rangeMethod · 0.80

Tested by

no test coverage detected