Major funciton renaming in EHS for suppporting more BDS types. Bug fixes.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from pyModeS import util
|
||||
import os, sys
|
||||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))+'/pyModeS')
|
||||
import util
|
||||
|
||||
|
||||
def test_hex2bin():
|
||||
@@ -12,4 +14,4 @@ def test_crc_decode():
|
||||
|
||||
def test_crc_encode():
|
||||
parity = util.crc("8D406B902015A678D4D220AA4BDA", encode=True)
|
||||
assert util.hex2bin("AA4BDA") == parity
|
||||
assert util.hex2bin("AA4BDA") == parity
|
||||
|
||||
Reference in New Issue
Block a user