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
original.name="Switch_Invalid_7"
======
>>> main.whiley
function f(byte[] data, int pos) -> int:
    method = data[pos]
    pos = pos + 1
    switch method:
        case 0:
            return 1
        case 1:
            return 0
    return 2

---
E307 main.whiley 2,4:9