whiley_test_file 0.6.2

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


type bop is {int y, int x}

type expr is int | bop

function f(expr e) -> int:
    if e is bop:
        return e.x + e.y
    else:
        return e + 1

public export method test() :
    int x = f(1)
    assume x == 2
    x = f({y: 10, x: 4})
    assume x == 14

---