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


type tac1tup is {int f1, int f2}

function f() -> tac1tup:
    return {f1: 2, f2: 3}

public export method test() :
    tac1tup x = f()
    x.f1 = x.f2 - 2
    assert x.f1 != x.f2
    assume x == {f1: 1, f2: 3}

---