moved the benchmarking scripts to the new assert types
diff --git a/scripts/bench/bench.py b/scripts/bench/bench.py
index fccc5da..ebb3a4c 100755
--- a/scripts/bench/bench.py
+++ b/scripts/bench/bench.py
@@ -23,7 +23,7 @@
parser.add_argument("--files", type=int, default=1, help = "number of source files (besides the implementation)")
parser.add_argument("--tests", type=int, default=1, help = "number of test cases per source file")
parser.add_argument("--checks", type=int, default=1, help = "number of asserts per test case")
- parser.add_argument("--asserts", choices=['normal', 'binary', 'fast'], default="normal",
+ parser.add_argument("--asserts", choices=['normal', 'binary'], default="normal",
help = "<doctest> type of assert used - Catch: only normal")
parser = argparse.ArgumentParser()
@@ -101,8 +101,6 @@
macro = " CHECK(i == i);\n"
if not args.catch and args.asserts == "binary":
macro = " CHECK_EQ(a, b);\n"
-if not args.catch and args.asserts == "fast":
- macro = " FAST_CHECK_EQ(a, b);\n"
# setup the header used
include = '#include "doctest.h"\n'
diff --git a/scripts/bench/tests.json b/scripts/bench/tests.json
index bb8aba6..5d7d551 100644
--- a/scripts/bench/tests.json
+++ b/scripts/bench/tests.json
@@ -27,10 +27,9 @@
[
["any", " --header --files 10 --tests 0 --checks 0"],
["any", " --header --files 10 --tests 50 --checks 100 --asserts normal"],
+ ["any", " --header --files 10 --tests 50 --checks 100 --asserts normal --fast"],
["doctest", " --header --files 10 --tests 50 --checks 100 --asserts binary"],
- ["doctest", " --header --files 10 --tests 50 --checks 100 --asserts fast"],
- ["doctest", " --header --files 10 --tests 50 --checks 100 --asserts fast --fast"],
- ["catch", " --header --files 10 --tests 50 --checks 100 --asserts normal --fast"],
+ ["doctest", " --header --files 10 --tests 50 --checks 100 --asserts binary --fast"],
["any", " --header --files 10 --tests 50 --checks 100 --asserts normal --disabled"]
]
],