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
original.name="StaticVar_Valid_8"
js.execute.ignore=true
Whiley2JavaScript.issue=29
======
>>> main.whiley
// Test static variable initialiser order
final int RED = 1
final Color color = RED + BLUE
final int BLUE = 2
final int GREEN = 3

type Color is (int x) where (x == RED) || (x == BLUE) || (x == GREEN)

public export method test():
    assert color == GREEN

---