whiley_test_file 0.6.2

An API for manipulating test files for the Whiley Programming Language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
original.name="RecursiveType_Valid_10"
======
>>> main.whiley


type binary is {int op, expr left, expr right}
type expr is int | binary

public export method test() :
    binary e = {op: 1, left: 1, right: 2}
    assert e.op == 1
    assert e.left == 1
    assert e.right == 2

---