linearCongGenerator
should be a function.
testString: assert(typeof linearCongGenerator == 'function');
- text: linearCongGenerator(324, 1145, 177, 2148, 3)
should return a number.
testString: assert(typeof linearCongGenerator(324, 1145, 177, 2148, 3) == 'number');
- text: linearCongGenerator(324, 1145, 177, 2148, 3)
should return 855
.
testString: assert.equal(linearCongGenerator(324, 1145, 177, 2148, 3), 855);
- text: linearCongGenerator(234, 11245, 145, 83648, 4)
should return 1110
.
testString: assert.equal(linearCongGenerator(234, 11245, 145, 83648, 4), 1110);
- text: linearCongGenerator(85, 11, 1234, 214748, 5)
should return 62217
.
testString: assert.equal(linearCongGenerator(85, 11, 1234, 214748, 5), 62217);
- text: linearCongGenerator(0, 1103515245, 12345, 2147483648, 1)
should return 12345
.
testString: assert.equal(linearCongGenerator(0, 1103515245, 12345, 2147483648, 1), 12345);
- text: linearCongGenerator(0, 1103515245, 12345, 2147483648, 2)
should return 1406932606
.
testString: assert.equal(linearCongGenerator(0, 1103515245, 12345, 2147483648, 2), 1406932606);
```