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
original.name="Template_Valid_2"
======
>>> main.whiley
type Decorator<T> is { T data }

public export method test():
    Decorator<int> di = { data: 0 }
    assert di.data == 0
    Decorator<bool> db = { data: false }
    assert db.data == false
---