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

Method test_repr

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

Source from the content-addressed store, hash-verified

323 self.assertEqual(len(integer(-1, 3)), 4)
324
325 def test_repr(self):
326 for s in ("integer(-1, 1)",
327 "integer(-1, 1, label='ia')",
328 "integer(-1, 1, uoflow=False)",
329 "integer(-1, 1, label='ia', uoflow=False)"):
330 self.assertEqual(str(eval(s)), s)
331
332 def test_label(self):
333 a = integer(-1, 2, label="foo")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected