{"ScriptPreparationCode":"var random = Math.floor(Math.random() * 20);","TestCases":[{"Name":"Switch","Code":"switch (random) {\r\n case 0:\r\n random = -Math.PI;\r\n break;\r\n case 1:\r\n random = Math.EPSILON;\r\n break;\r\n case 2:\r\n case 3:\r\n case 4:\r\n case 5:\r\n case 6:\r\n case 7:\r\n case 8:\r\n case 9:\r\n random = 1;\r\n break;\r\n case 10:\r\n case 11:\r\n case 12:\r\n random /= 5;\r\n break;\r\n case 13:\r\n case 14:\r\n case 15:\r\n case 16:\r\n case 17:\r\n random **= 2;\r\n break;\r\n case 18:\r\n random = 5;\r\n break;\r\n case 19:\r\n random = 28;\r\n break;\r\n case 20:\r\n random = 0;\r\n break;\r\n default:\r\n random = -1;\r\n break;\r\n}","IsDeferred":false},{"Name":"If","Code":"const test = {\r\n 0: () =\u003E -Math.PI,\r\n 1: () =\u003E Math.EPSILON,\r\n 2: () =\u003E 1,\r\n 3: () =\u003E 1,\r\n 4: () =\u003E 1,\r\n 5: () =\u003E 1,\r\n 6: () =\u003E 1,\r\n 7: () =\u003E 1,\r\n 8: () =\u003E 1,\r\n 9: () =\u003E 1,\r\n 10: (rand) =\u003E rand / 5,\r\n 11: (rand) =\u003E rand / 5,\r\n 12: (rand) =\u003E rand / 5,\r\n 13: (rand) =\u003E rand ** 2,\r\n 14: (rand) =\u003E rand ** 2,\r\n 15: (rand) =\u003E rand ** 2,\r\n 16: (rand) =\u003E rand ** 2,\r\n 17: (rand) =\u003E rand ** 2,\r\n 18: () =\u003E 5,\r\n 19: () =\u003E 28,\r\n 20: () =\u003E 0,\r\n};\r\n\r\nrandom = test[random]?.() || -1;","IsDeferred":false}]}