Blame view

tests/Test.nim 211 Bytes
01dbfa89   Göran Krampe   Test code with co...
1
2
3
4
5
6
7
8
9
10
  import Test1
  
  # Just to try out the Nim Test1.foo proc from Nim
  #   nim c -r Test.nim
  
  when isMainModule:
    var v1, v2: Vector3
    v1 = Vector3(x:1, y:2, z:3)
    v2 = Vector3(x:4, y:5, z:6)
    echo foo(v1, v2, 14)