q/tests/tests_test.go
Eduard Urbach 2592d7aae8
All checks were successful
/ test (push) Successful in 16s
Implemented basic math
2025-07-15 14:40:10 +02:00

24 lines
No EOL
440 B
Go

package tests_test
import (
"testing"
)
var tests = []testRun{
{"empty", "", "", 0},
{"sum-10", "", "", 10},
{"sum-36", "", "", 36},
{"hello-3", "", "Hello\nHello\nHello\n", 0},
{"param-swap", "", "", 3},
{"script", "", "Hello\n", 0},
{"math-5", "", "", 5},
{"math-10", "", "", 10},
{"math-3", "", "", 3},
{"math-2", "", "", 2},
}
func TestTests(t *testing.T) {
for _, test := range tests {
test.Run(t, test.Name+".q")
}
}