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="Subtype_Valid_6"
======
>>> main.whiley
type sr9nat is int

type sr9tup is {sr9nat f, int g}

type sr9arr is {sr9nat f, int g}[]

public export method test() :
    sr9arr x = [{f: 1, g: 2}, {f: 1, g: 8}]
    x[0].f = 2
    assume x == [{f: 2, g: 2}, {f: 1, g: 8}]


---