Files
ggwave/bindings/python/test.py
2021-01-23 17:13:13 +02:00

17 lines
241 B
Python

import sys
import ggwave
testFailed = False
samples = ggwave.encode("hello python")
if not (samples):
testFailed = True
if testFailed:
print("Some of the tests failed!")
else:
print("All tests passed!")
sys.exit(testFailed)