Skip to content
Snippets Groups Projects
Commit a2a57136 authored by Nicolas Voirol's avatar Nicolas Voirol
Browse files

Updated tests for new options

parent b8001518
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ trait InoxTestSuite extends FunSuite with Matchers with Timeouts {
val configurations: Seq[Seq[OptionValue[_]]] = Seq(Seq.empty)
private def optionsString(options: Options): String = {
"solver=" + options.findOptionOrDefault(InoxOptions.optSelectedSolvers).head + " " +
"solver=" + options.findOptionOrDefault(optSelectedSolvers).head + " " +
"feelinglucky=" + options.findOptionOrDefault(solvers.unrolling.optFeelingLucky) + " " +
"checkmodels=" + options.findOptionOrDefault(solvers.optCheckModels) + " " +
"unrollassumptions=" + options.findOptionOrDefault(solvers.unrolling.optUnrollAssumptions)
......
......@@ -11,11 +11,11 @@ trait SolvingTestSuite extends InoxTestSuite {
feelingLucky <- Seq(false, true)
unrollAssumptions <- Seq(false, true)
} yield Seq(
InoxOptions.optSelectedSolvers(Set(solverName)),
optSelectedSolvers(Set(solverName)),
optCheckModels(checkModels),
unrolling.optFeelingLucky(feelingLucky),
unrolling.optUnrollAssumptions(unrollAssumptions),
InoxOptions.optTimeout(300),
optTimeout(300),
ast.optPrintUniqueIds(true)
)
}
......@@ -16,11 +16,11 @@ class AssociativeQuantifiersSuite extends InoxTestSuite {
("nativez3", false, false, true ),
("smt-cvc4", false, false, true )
).map { case (solverName, checkModels, feelingLucky, unrollAssumptions) => Seq(
InoxOptions.optSelectedSolvers(Set(solverName)),
optSelectedSolvers(Set(solverName)),
optCheckModels(checkModels),
optFeelingLucky(feelingLucky),
optUnrollAssumptions(unrollAssumptions),
InoxOptions.optTimeout(300),
optTimeout(300),
ast.optPrintUniqueIds(true)
)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment