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

Method test_non_empty

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

Source from the content-addressed store, hash-verified

621 self.assertTrue(self.seq([]).empty())
622
623 def test_non_empty(self):
624 self.assertTrue(self.seq([1]).non_empty())
625
626 def test_non_zero_bool(self):
627 self.assertTrue(bool(self.seq([1])))

Callers

nothing calls this directly

Calls 1

non_emptyMethod · 0.80

Tested by

no test coverage detected