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

Method test_make_string

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

Source from the content-addressed store, hash-verified

628 self.assertFalse(bool(self.seq([])))
629
630 def test_make_string(self):
631 l = [1, 2, 3]
632 expect1 = "123"
633 expect2 = "1:2:3"
634 s = self.seq(l)
635 self.assertEqual(expect1, s.make_string(""))
636 self.assertEqual(expect2, s.make_string(":"))
637 s = self.seq([])
638 self.assertEqual("", s.make_string(""))
639 self.assertEqual("", s.make_string(":"))
640
641 def test_partition(self):
642 l = [-1, -2, -3, 1, 2, 3]

Callers

nothing calls this directly

Calls 1

make_stringMethod · 0.80

Tested by

no test coverage detected