test.py 142 B

123456
  1. import sys
  2. import test_cmake_build
  3. assert test_cmake_build.add(1, 2) == 3
  4. print("{} imports, runs, and adds: 1 + 2 = 3".format(sys.argv[1]))