Code reorganisation - segpy is now a proper Python package. Rework of the extended textual header for symmetry with the reader. Some additional tests.

This commit is contained in:
Robert Smallshire
2015-01-28 21:42:52 +01:00
parent 246b8515e4
commit 255a490914
19 changed files with 669 additions and 292 deletions
+2 -2
View File
@@ -1,5 +1,6 @@
import unittest
from ibm_float import ieee2ibm, ibm2ieee
from segpy.ibm_float import ieee2ibm, ibm2ieee
class Ibm2Ieee(unittest.TestCase):
@@ -21,7 +22,6 @@ class Ibm2Ieee(unittest.TestCase):
self.assertEqual(ibm2ieee((0b11000010, 0b01110110, 0b10100000, 0b00000000)), -118.625)
class Ieee2Ibm(unittest.TestCase):
def test_zero(self):