Added official PDDL competition instances for automated testing.
This commit is contained in:
parent
a7c4fdb242
commit
0b8da69394
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,3 +4,6 @@
|
||||
[submodule "lib/variant"]
|
||||
path = lib/variant
|
||||
url = https://github.com/mapbox/variant
|
||||
[submodule "tests/data/pddl-instances"]
|
||||
path = tests/data/pddl-instances
|
||||
url = https://github.com/potassco/pddl-instances.git
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// TODO: reimplement unit tests
|
||||
int main()
|
||||
{
|
||||
const pddl::Context::WarningCallback ignoreWarnings = [](const auto &, const auto &){};
|
||||
@ -19,4 +20,8 @@ int main()
|
||||
const auto description = pddl::parseDescription(context);
|
||||
|
||||
std::cout << description.domain->requirements.size() << std::endl;
|
||||
std::cout << description.domain->predicates.size() << std::endl;
|
||||
std::cout << description.domain->actions.size() << std::endl;
|
||||
std::cout << description.problem.value()->name << std::endl;
|
||||
std::cout << description.problem.value()->objects.size() << std::endl;
|
||||
}
|
||||
|
1
tests/data/pddl-instances
Submodule
1
tests/data/pddl-instances
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit bf7062de90321c8a2e3f898f1a4c4e4b0b1d1515
|
Reference in New Issue
Block a user