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

Method test_contains

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

Source from the content-addressed store, hash-verified

114 self.assert_type(l)
115
116 def test_contains(self):
117 string = "abcdef"
118 s = self.seq(iter(string)).map(lambda x: x)
119 self.assertTrue("c" in s)
120
121 def test_add(self):
122 l0 = self.seq([1, 2, 3]).map(lambda x: x)

Callers

nothing calls this directly

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected