MCPcopy Create free account
hub / github.com/boostorg/histogram / test_repr

Method test_repr

test/python_suite_test.py:390–394  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

388 self.assertEqual(len(a), 3)
389
390 def test_repr(self):
391 for s in ("category(1)",
392 "category(1, 2)",
393 "category(1, 2, 3)"):
394 self.assertEqual(str(eval(s)), s)
395
396 def test_getitem(self):
397 c = 1, 2, 3

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected