Continuations
This commit is contained in:
parent
88c90220fe
commit
026218ddbd
13 changed files with 255 additions and 15 deletions
|
@ -27,7 +27,7 @@ class Examples {
|
|||
|
||||
@Test
|
||||
fun debugHelper() {
|
||||
loader.load("examples/basics/arithmetics.pl")
|
||||
loader.load("examples/meta/continuations.pl")
|
||||
}
|
||||
|
||||
@ParameterizedTest
|
||||
|
@ -65,6 +65,7 @@ class Examples {
|
|||
)
|
||||
|
||||
fun meta() = listOf(
|
||||
Arguments.of("continuations.pl", "Inside test\nEntering reset\nAfter reset\nCalling Cont(2)\nIn test X = 5; done\nCalling Cont(4)\nIn test X = 9; done\n"),
|
||||
Arguments.of("mib_voorbeelden.pl", "b\nf(b)\nf(g(a,a),h(c,d),i(e,f))\nf(g(a,a),h(c,c),i(e,f))\nf(g(a,a),h(c,c),i(e,e))\n")
|
||||
)
|
||||
|
||||
|
|
Reference in a new issue