mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-09-28 21:23:37 -06:00
started a testsuite
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
abstract basic = {
|
||||
|
||||
cat N ;
|
||||
|
||||
fun Z : N ;
|
||||
S : N -> N ;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import Test.HUnit
|
||||
import PGF2
|
||||
|
||||
main = do
|
||||
gr <- readPGF "tests/basic.pgf"
|
||||
runTestTTAndExit (TestCase (assertEqual "abstract names" "basic" (abstractName gr)))
|
||||
Binary file not shown.
Reference in New Issue
Block a user