whiley_test_file 0.6.2

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


type rlist is bool | int[]

function f(rlist l) -> int:
    if l is bool:
        return 0
    else:
        return |l|

public export method test() :
    assume f(true) == 0
    assume f(false) == 0
    assume f([1, 2, 3]) == 3

---