Merge branch 'master' of http://github.com/mozillasecurity/octo
This commit is contained in:
commit
1057bf42da
1 changed files with 7 additions and 0 deletions
|
@ -54,6 +54,13 @@ make.number = {
|
|||
even: function (number) {
|
||||
return number % 2 === 1 ? ++number : number
|
||||
},
|
||||
interesting: function () {
|
||||
return random.choose([
|
||||
[10, [-128, -1, 0, 1, 16, 32, 64, 100, 127]],
|
||||
[7, [-32768, -129, 128, 255, 256, 512, 1000, 1024, 4096, 32767]],
|
||||
[1, [-2147483648, -100663046, -32769, 32768, 65535, 65536, 100663045, 2147483647]]
|
||||
])
|
||||
},
|
||||
any: function () {
|
||||
let value = random.choose([
|
||||
[10, make.number.float],
|
||||
|
|
Loading…
Reference in a new issue