mirror of
https://github.com/wassname/segpy.git
synced 2026-08-07 11:28:24 +08:00
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:
+2
-2
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user