These test both graph shape consistency and single value outputs. Eventually we want to make the graph shape tests more precise, and also verify specific outputs how it used to be. For now, this is okay. Co-authored-by: Samuel Gélineau <gelisam@gmail.com>
11 lines
177 B
Plaintext
11 lines
177 B
Plaintext
-- main.mcl --
|
|
import "fmt"
|
|
|
|
$zero = 0
|
|
$one = $zero + 1
|
|
$two = $one + 1 # needs a chain to panic
|
|
|
|
test fmt.printf("%d%d%d", $zero, $one, $two) {}
|
|
-- OUTPUT --
|
|
Vertex: test[012]
|