summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-01-10 22:09:38 -0500
committerJeffrey Walton <noloader@gmail.com>2017-01-10 22:09:38 -0500
commit177843201379aaccac561f5d6a25a72ff3220eaa (patch)
treef22c3642c4173f41a1b8714b93465925107897da /test.cpp
parent781e63ba7cb669cfe70278956f6264b3488da453 (diff)
downloadcryptopp-git-177843201379aaccac561f5d6a25a72ff3220eaa.tar.gz
Add self tests for RoundUpToMultipleOf (Issue 360)
Thanks to Boldizsár Lipka
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test.cpp b/test.cpp
index 11be60a1..65b27d4c 100644
--- a/test.cpp
+++ b/test.cpp
@@ -982,10 +982,12 @@ bool Validate(int alg, bool thorough, const char *seedInput)
case 9998: result = TestPolynomialMod2(); break;
// http://github.com/weidai11/cryptopp/issues/336
case 9997: result = TestIntegerBitops(); break;
+ // http://github.com/weidai11/cryptopp/issues/360
+ case 9996: result = TestRounding(); break;
// http://github.com/weidai11/cryptopp/issues/242
- case 9996: result = TestHuffmanCodes(); break;
+ case 9995: result = TestHuffmanCodes(); break;
// http://github.com/weidai11/cryptopp/issues/346
- case 9995: result = TestASN1Parse(); break;
+ case 9994: result = TestASN1Parse(); break;
#endif
default: return false;