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
original.name="ConstrainedRecord_Valid_3"
======
>>> main.whiley


type btup is {int index, int op}

function f(btup b) -> int[]:
    return [b.op, b.index]

public export method test() :
    assume f({index: 2, op: 1}) == [1,2]

---