You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
348 B
Python
16 lines
348 B
Python
from __future__ import division, print_function
|
|
import test_swig
|
|
|
|
# FIXME
|
|
# print(test_swig.My_variable)
|
|
# assert(test_swig.My_variable == 3.0)
|
|
|
|
print(test_swig.fact(5))
|
|
assert(test_swig.fact(5) == 120)
|
|
|
|
print(test_swig.my_mod(23, 5))
|
|
assert(test_swig.my_mod(23, 5) == 3)
|
|
|
|
print(test_swig.get_time(), end="")
|
|
assert(len(test_swig.get_time()) > 20)
|