2020-08-18 02:44:43 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
import sys
|
2022-03-27 05:45:37 +08:00
|
|
|
|
2020-08-18 02:44:43 +08:00
|
|
|
import test_cmake_build
|
|
|
|
|
|
2022-03-27 05:45:37 +08:00
|
|
|
if str is not bytes: # If not Python2
|
|
|
|
|
assert isinstance(__file__, str) # Test this is properly set
|
|
|
|
|
|
2020-08-18 02:44:43 +08:00
|
|
|
assert test_cmake_build.add(1, 2) == 3
|
|
|
|
|
print("{} imports, runs, and adds: 1 + 2 = 3".format(sys.argv[1]))
|