Files
JIMRI/jython/test/SerialPortDeviceTest.py
2026-06-17 14:00:51 +02:00

9 lines
303 B
Python

# Test the jython/serialinput/SerialPortDevice.py script to make sure it basically compiles & runs
execfile("jython/serialinput/SerialPortDevice.py")
a = SerialPortDevice()
# not opening a port
if (a.parse("1,2,3,4") != ["1","2","3","4"]) : raise AssertionError('Parse array not created correctly')