Set up tests for XSY parser.

This commit is contained in:
Josh Lucas
2026-04-17 16:17:43 -05:00
parent 6dbf963691
commit 5e77d03d74
10 changed files with 26 additions and 8 deletions

9
tests/test_xsy.py Normal file
View File

@@ -0,0 +1,9 @@
from pandas import DataFrame
from AuDaGe.formats.controlexpert.xsy import XSY
def test_init():
assert isinstance(XSY("tests/data/hsps.xsy"), XSY)
def test_read_datablock():
xsy = XSY("tests/data/hsps.xsy")
assert isinstance(xsy.read_datablock(), DataFrame)

View File

@@ -1,3 +0,0 @@
from AuDaGe.formats.controlexpert.xsy import XSY
print(XSY("hsps.xsy"))