added testscript test to test the combination of all tasks

This commit is contained in:
2025-01-14 12:22:35 +01:00
committed by T.v.Dein
parent 6ca835add1
commit 0e68dc585d
13 changed files with 247 additions and 7 deletions

20
main_test.go Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
"os"
"testing"
"github.com/rogpeppe/go-internal/testscript"
)
func TestMain(m *testing.M) {
os.Exit(testscript.RunMain(m, map[string]func() int{
"tablizer": Main,
}))
}
func TestRpn(t *testing.T) {
testscript.Run(t, testscript.Params{
Dir: "t",
})
}