init commit again
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
general {
|
||||
funcon-term:
|
||||
initialise-giving initialise-generating finalise-failing
|
||||
sequential (
|
||||
print object-feature-map object(fresh-atom,"A",map()),
|
||||
print object-feature-map object(fresh-atom,"B",map(),
|
||||
object(fresh-atom,"C",map()))
|
||||
)
|
||||
;
|
||||
}
|
||||
|
||||
tests {
|
||||
result-term: null-value;
|
||||
standard-out: [
|
||||
map(), map()
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
general {
|
||||
funcon-term:
|
||||
initialise-giving initialise-generating finalise-failing
|
||||
sequential (
|
||||
print object-identity object(fresh-atom,"A",map()),
|
||||
print object-identity object(fresh-atom,"B",map(),
|
||||
object(fresh-atom,"C",map()))
|
||||
)
|
||||
;
|
||||
}
|
||||
|
||||
tests {
|
||||
result-term: null-value;
|
||||
standard-out: [
|
||||
atom("@1"), atom("@2")
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
general {
|
||||
funcon-term:
|
||||
initialise-giving initialise-generating finalise-failing
|
||||
sequential (
|
||||
print object-single-inheritance-feature-map
|
||||
object(fresh-atom,"A",{"a"|->"A"}),
|
||||
print object-single-inheritance-feature-map
|
||||
object(fresh-atom,"B",{"a"|->"B"},
|
||||
object(fresh-atom,"C",{"a"|->"C"})),
|
||||
else(
|
||||
is-value object-single-inheritance-feature-map
|
||||
object(fresh-atom,"D",map(),
|
||||
object(fresh-atom,"E",map(),
|
||||
object(fresh-atom,"F",map())),
|
||||
object(fresh-atom,"G",map())),
|
||||
print "OK")
|
||||
)
|
||||
;
|
||||
}
|
||||
|
||||
tests {
|
||||
result-term: null-value;
|
||||
standard-out: [
|
||||
{"a"|->"A"},
|
||||
{"a"|->"B"},
|
||||
"OK"
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
general {
|
||||
funcon-term:
|
||||
initialise-giving initialise-generating finalise-failing
|
||||
sequential (
|
||||
print [object-subobject-sequence
|
||||
object(fresh-atom,"A",map())],
|
||||
print [object-subobject-sequence
|
||||
object(fresh-atom,"B",map(),
|
||||
object(fresh-atom,"C",map()))],
|
||||
print [object-subobject-sequence
|
||||
object(fresh-atom,"D",map(),
|
||||
object(fresh-atom,"E",map(),
|
||||
object(fresh-atom,"F",map())),
|
||||
object(fresh-atom,"G",map()))]
|
||||
)
|
||||
;
|
||||
}
|
||||
|
||||
tests {
|
||||
result-term: null-value;
|
||||
standard-out: [
|
||||
[],
|
||||
[object(atom("@3"),"C",map-empty)],
|
||||
[object(atom("@5"),"E",map-empty,object(atom("@6"),"F",map-empty)),
|
||||
object(atom("@7"),"G",map-empty)]
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
general {
|
||||
funcon-term:
|
||||
initialise-giving initialise-generating finalise-failing
|
||||
sequential (
|
||||
print object-tree
|
||||
object(fresh-atom,"A",map()),
|
||||
print object-tree
|
||||
object(fresh-atom,"B",map(),
|
||||
object(fresh-atom,"C",map())),
|
||||
print object-tree
|
||||
object(fresh-atom,"D",map(),
|
||||
object(fresh-atom,"E",map(),
|
||||
object(fresh-atom,"F",map())),
|
||||
object(fresh-atom,"G",map()))
|
||||
)
|
||||
;
|
||||
}
|
||||
|
||||
tests {
|
||||
result-term: null-value;
|
||||
standard-out: [
|
||||
tree (object(atom("@1"),"A",map-empty)),
|
||||
tree (object(atom("@2"),"B",map-empty,object(atom("@3"),"C",map-empty)),
|
||||
tree (object(atom("@3"),"C",map-empty))),
|
||||
tree (object(atom("@4"),"D",map-empty,
|
||||
object(atom("@5"),"E",map-empty,object(atom("@6"),"F",map-empty)),
|
||||
object(atom("@7"),"G",map-empty)),
|
||||
tree (object(atom("@5"),"E",map-empty,object(atom("@6"),"F",map-empty)),
|
||||
tree (object(atom("@6"),"F",map-empty))),
|
||||
tree (object(atom("@7"),"G",map-empty)))
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
general {
|
||||
funcon-term:
|
||||
initialise-giving initialise-generating finalise-failing
|
||||
sequential (
|
||||
print object(fresh-atom,"A",map()),
|
||||
print object(fresh-atom,"B",map(),
|
||||
object(fresh-atom,"C",map())),
|
||||
print object(fresh-atom,"D",map(),
|
||||
object(fresh-atom,"E",map(),
|
||||
object(fresh-atom,"F",map())),
|
||||
object(fresh-atom,"G",map()))
|
||||
)
|
||||
;
|
||||
}
|
||||
|
||||
tests {
|
||||
result-term: null-value;
|
||||
standard-out: [
|
||||
object(atom("@1"),"A",map-empty),
|
||||
object(atom("@2"),"B",map-empty,object(atom("@3"),"C",map-empty)),
|
||||
object(atom("@4"),"D",map-empty,
|
||||
object(atom("@5"),"E",map-empty,object(atom("@6"),"F",map-empty)),
|
||||
object(atom("@7"),"G",map-empty))
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user