{"ScriptPreparationCode":"function getRandomUint32(min, max) {\r\n return Math.floor(Math.random() * (max - min) \u002B min);\r\n}","TestCases":[{"Name":"Compare to half of max int","Code":"for(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n\tconst z = getRandomUint32(0, 2 ** 32) \u003C 2_147_483_648;\r\n}","IsDeferred":false},{"Name":"Mod even/odd","Code":"for(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n\tconst z = getRandomUint32(0, 2 ** 32) % 2 === 0;\r\n}","IsDeferred":false},{"Name":"Bitwise even/odd","Code":"for(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n\tconst z = getRandomUint32(0, 2 ** 32) \u0026 1 === 1;\r\n}","IsDeferred":false}]}