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
16
17
18
original.name="Reference_Valid_37"
======
>>> main.whiley
type Ref<T> is &T

method next(Ref<int>[] rs):
    skip

public export method test():
    Ref<int>[] ps = [new 0, new 1]
    &int q = new 2
    assert *q == 2
    next(ps)
    assert *q == 2
    // Check disjointness
    assert all { i in 0..|ps| | ps[i] != q }

---