whiley_test_file 0.6.2

An API for manipulating test files for the Whiley Programming Language.
Documentation
original.name="RecordAssign_Valid_13"
======
>>> main.whiley


type tac2ta is {int f1, int f2} where f1 < f2

type tac2tb is {int f1, int f2} where (f1 + 1) < f2

function f(tac2ta x) -> tac2tb:
    return {f1: x.f1 - 1, f2: x.f2}

public export method test() :
    tac2ta x = {f1: 2, f2: 3}
    assume x == {f1: 2, f2: 3}
    x.f1 = 1
    tac2tb y = f(x)
    assume y == {f1: 0, f2: 3}

---