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
15
16
17
18
original.name="ConstrainedArray_Invalid_1"
js.execute.ignore=true
boogie.ignore=true
Whiley2Boogie.issue=148
======
>>> main.whiley

type i8 is (int x) where (x >= -128) && (x <= 127)

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

public export method test():
    assume f(256) == [256]
---
E702 main.whiley 6,11:18
E718 main.whiley 6,17