new tests for bitlengths that are not multiple of 8
This commit is contained in:
parent
c89d507a64
commit
6d6e8e7658
|
@ -74,7 +74,10 @@ describe('isProbablyPrime', function () {
|
||||||
// <--
|
// <--
|
||||||
|
|
||||||
const bitLengths = [
|
const bitLengths = [
|
||||||
|
8,
|
||||||
|
255,
|
||||||
256,
|
256,
|
||||||
|
258,
|
||||||
512,
|
512,
|
||||||
1024,
|
1024,
|
||||||
2048,
|
2048,
|
||||||
|
|
|
@ -7,7 +7,10 @@ const chai = require('chai')
|
||||||
// <--
|
// <--
|
||||||
|
|
||||||
const bitLengths = [
|
const bitLengths = [
|
||||||
|
8,
|
||||||
|
255,
|
||||||
256,
|
256,
|
||||||
|
258,
|
||||||
512,
|
512,
|
||||||
1024,
|
1024,
|
||||||
2048,
|
2048,
|
||||||
|
|
Loading…
Reference in New Issue