Skip to content

Commit b8c20bc

Browse files
committed
Add reversible test
1 parent 0708204 commit b8c20bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_pyard.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,9 @@ def test_is_null(self):
205205
self.assertFalse(
206206
self.ard.is_null(allele), msg="MACs shouldn't be called as Nulls"
207207
)
208+
209+
def test_mac_is_reversible(self):
210+
mac_code = "A*68:AJEBX"
211+
expanded_mac = self.ard.expand_mac(mac_code)
212+
lookup_mac = self.ard.lookup_mac(expanded_mac)
213+
self.assertEqual(mac_code, lookup_mac)

0 commit comments

Comments
 (0)