Initial commit

This commit is contained in:
Bassem Girgis
2018-12-20 17:34:07 -06:00
parent 7a2d899662
commit 81b4b9e273
34743 changed files with 5940233 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import inout
a = inout.AddOne1(1)
if a != 2:
raise RuntimeError
a = inout.AddOne3(1, 1, 1)
if a != [2, 2, 2]:
raise RuntimeError
a = inout.AddOne1p((1, 1))
if a != (2, 2):
raise RuntimeError
a = inout.AddOne2p((1, 1), 1)
if a != [(2, 2), 2]:
raise RuntimeError
a = inout.AddOne3p(1, (1, 1), 1)
if a != [2, (2, 2), 2]:
raise RuntimeError