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
original.name="ConstrainedList_Valid_1"
======
>>> main.whiley
type u8 is (int n) where 0 <= n && n <= 0xff

function f(int x) -> u8[]
requires x == 0 || x == 0xA9:
    return [(u8) x]

public export method test() :
    u8[] bytes = f(0)
    assume bytes == [0]

---