whiley_test_file 0.6.2

An API for manipulating test files for the Whiley Programming Language.
Documentation
original.name="Template_Valid_37"
======
>>> main.whiley
// from std::vector
public type Vector<T> is {
    T[] items,
    int length
} where 0 <= length && length <= |items|

public function Vector<T>() -> Vector<T>:
    return { items: [], length: 0 }

// from #912
type State is { Vector<int> stack }

function State() -> State:
    return { stack: Vector<int>() }

public export method test():
    // Simple check
    assume State().stack == { items: [], length: 0 }
---