Files
ggwave/bindings/python/test.py
2021-11-22 20:17:16 +02:00

20 lines
281 B
Python

import sys
import ggwave
testFailed = False
ggwave.disableLog()
ggwave.enableLog()
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)