init
This commit is contained in:
commit
ab055ed8fc
11 changed files with 197 additions and 0 deletions
5
example/source.ml
Normal file
5
example/source.ml
Normal file
|
@ -0,0 +1,5 @@
|
|||
let add a b = a + b;;
|
||||
|
||||
let failure = a+ b;;
|
||||
|
||||
add 3 4;;
|
2
example/tests/add_1.ml
Normal file
2
example/tests/add_1.ml
Normal file
|
@ -0,0 +1,2 @@
|
|||
let r = add 1 2;;
|
||||
assert (r = 3);;
|
2
example/tests/add_2.ml
Normal file
2
example/tests/add_2.ml
Normal file
|
@ -0,0 +1,2 @@
|
|||
let r = add 1 2;;
|
||||
assert (r = 4);;
|
2
example/tests/add_3.ml
Normal file
2
example/tests/add_3.ml
Normal file
|
@ -0,0 +1,2 @@
|
|||
let r = add_ 1 2;;
|
||||
assert (r = 3);;
|
Loading…
Add table
Add a link
Reference in a new issue