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
original.name="Infeasible_Constant_1"
js.execute.ignore=true
======
>>> main.whiley
type nat is (int x) where x >= 0

final nat x = -1

// This function should not be provable.
function f() -> (int r)
ensures r >= 0:
    return x

---
E702 main.whiley 3,6:16
E718 main.whiley 3,14:15