diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-01-10 22:09:38 -0500 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-01-10 22:09:38 -0500 |
| commit | 177843201379aaccac561f5d6a25a72ff3220eaa (patch) | |
| tree | f22c3642c4173f41a1b8714b93465925107897da /test.cpp | |
| parent | 781e63ba7cb669cfe70278956f6264b3488da453 (diff) | |
| download | cryptopp-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.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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;
|
