summaryrefslogtreecommitdiff
path: root/datatest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-16 18:39:04 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-16 18:39:04 -0400
commit8fe0ba4c74bd70b290c3aec6f6da9845d6a1ce70 (patch)
tree735dad26dcc5a8b56e80471c588fb590d6fd38b8 /datatest.cpp
parent9a591d6e3bbe87c89504b48241d189019617cc0a (diff)
downloadcryptopp-git-8fe0ba4c74bd70b290c3aec6f6da9845d6a1ce70.tar.gz
Update comments
Diffstat (limited to 'datatest.cpp')
-rw-r--r--datatest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/datatest.cpp b/datatest.cpp
index 7c14b8ef..cea57f79 100644
--- a/datatest.cpp
+++ b/datatest.cpp
@@ -1248,6 +1248,10 @@ void TestDataFile(std::string filename, const NameValuePairs &overrideParameters
lastAlgName = algName;
}
+ // In the old days each loop ran one test. Later, things were modified to run the
+ // the same test twice. Some tests are run with both a StringSource and a FileSource
+ // to catch FileSource specific errors. currentTests and deltaTests (below) keep
+ // the book keeping in order.
unsigned int currentTests = totalTests;
try