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="Reference_Valid_22"
======
>>> main.whiley
type Node is {
    int item,
    List next
} where !(next is null) ==> item < next->item

type List is null | &Node

public export method test():
    List l1 = null
    List l2 = new { item: 0, next: l1 }
    // List l3 = new { item: 1, next: l2 }
---