projects
/
mevemon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
24ca9ec8a6909d1a655d2e927ba3638287ede558
[mevemon]
/
package
/
src
/
tests
/
test_util.py
1
""" this module tests the util.py module """
2
import unittest
3
4
import util
5
6
NUMBERS = { 12345:'12,345', 12345.23:'12,345.23', 1234:'1,234'}
7
8
class TestUtil(unittest.TestCase):
9
def test_comma(self):
10
for number in NUMBERS.keys():
11
self.assertEqual(util.comma(number), NUMBERS[number])
12
13
14