MCPcopy Index your code
hub / github.com/petertodd/python-bitcoinlib / T

Method T

bitcoin/tests/test_core.py:19–21  ·  view source on GitHub ↗
(value, expected)

Source from the content-addressed store, hash-verified

17class Test_str_value(unittest.TestCase):
18 def test(self):
19 def T(value, expected):
20 actual = str_money_value(value)
21 self.assertEqual(actual, expected)
22
23 T( 0, '0.0')
24 T( 1, '0.00000001')

Callers

nothing calls this directly

Calls 1

str_money_valueFunction · 0.85

Tested by

no test coverage detected