mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-06 16:47:59 +08:00
17 lines
241 B
Python
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)
|