Browse Source

Updated test about small numbers

Yann Weber 6 years ago
parent
commit
6fe79da798
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/test_rpnsymbol.py

+ 1
- 1
tests/test_rpnsymbol.py View File

13
 
13
 
14
     def test_value(self):
14
     def test_value(self):
15
         sym = RpnSymbol(42, RpnSymbol.VALUE)
15
         sym = RpnSymbol(42, RpnSymbol.VALUE)
16
-        self.assertEqual(str(sym), '0x002A')
16
+        self.assertEqual(str(sym), '0x2A')
17
 
17
 
18
     def test_op(self):
18
     def test_op(self):
19
         sym = RpnSymbol(0, RpnSymbol.OPERATION)
19
         sym = RpnSymbol(0, RpnSymbol.OPERATION)

Loading…
Cancel
Save