new tests for bitlengths that are not multiple of 8

This commit is contained in:
juanelas 2020-04-07 19:49:57 +02:00
parent c89d507a64
commit 6d6e8e7658
2 changed files with 6 additions and 0 deletions

View File

@ -74,7 +74,10 @@ describe('isProbablyPrime', function () {
// <-- // <--
const bitLengths = [ const bitLengths = [
8,
255,
256, 256,
258,
512, 512,
1024, 1024,
2048, 2048,

View File

@ -7,7 +7,10 @@ const chai = require('chai')
// <-- // <--
const bitLengths = [ const bitLengths = [
8,
255,
256, 256,
258,
512, 512,
1024, 1024,
2048, 2048,