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="Remainder_Invalid_1"
js.execute.ignore=true
======
>>> main.whiley
function f(int x, int y) -> int:
    return x % y

public export method test():
    assume f(4,2) == 0
    assume f(3,2) == 1
    assume f(3,-2) == 1
    assume f(3,1) == 0
    assume f(3,0) == 0
---
E711 main.whiley 2,15
E728 main.whiley 2,15