Test internal/datafiles, internal/datatype, internal/proven and internal/builtinfunc, and allow the root to import them

This commit is contained in:
2026-10-05 15:26:52 +02:00
committed by Lillem4n
parent e4d14944a2
commit 83e4daefdb
7 changed files with 344 additions and 48 deletions
-6
View File
@@ -113,12 +113,6 @@ func TestParsedCallReadsOnlyAnOperandBuiltin(t *testing.T) {
}
}
// TestCalcPrepPanicsOnAnUncheckedExpression pins the guard on calc's own invariant:
// checkCalc parsed the expression before prep sees it.
func TestCalcPrepPanicsOnAnUncheckedExpression(t *testing.T) {
mustPanic(t, "prep on an expression that does not parse", func() { calcPrep([]string{"1 +"}) })
}
// --- one draw, one value: a calc operand reads the expansion's draw ---
// TestANamedCalcOperandIsTheOneShown pins how a calc computes from the value its format