{"ScriptPreparationCode":"let sh = 10\r\nlet sm = 20\r\nvar dates = [];\r\nfor (let i = 0; i \u003C 100000; i\u002B\u002B){\r\n \tlet sigma = Math.floor(Math.random()*4);\r\n \tif (sigma == 0){\r\n \tdates.push({sh:sh,sm:sm,oeh:sh\u002B1,oem:sm});\r\n }\r\n \telse if (sigma == 1){\r\n \tdates.push({sh:sh,sm:sm,oeh:sh-1,oem:sm});\r\n }\r\n\telse if (sigma == 2){\r\n \tdates.push({sh:sh,sm:sm,oeh:sh,oem:sm\u002B1});\r\n }\r\n else if (sigma == 3){\r\n \tdates.push({sh:sh,sm:sm,oeh:sh,oem:sm-1});\r\n }\r\n}\r\n\r\n\r\n","TestCases":[{"Name":"Comparisons","Code":"dates.forEach(date =\u003E {\r\n\tif (date.sh \u003E date.oeh || (date.sh == date.oeh \u0026\u0026 date.sm \u003E= date.oem)){\r\n \r\n }\r\n \telse if (date.sh \u003C date.oeh || (date.sh == date.oeh \u0026\u0026 date.sm \u003C date.oem)){\r\n \r\n }\r\n})","IsDeferred":false},{"Name":"Calculations","Code":"dates.forEach(date =\u003E {\r\n \tlet sd = (date.sh * 60 \u002B date.sm) * 60 * 1000;\r\n \tlet oed = (date.oed * 60 \u002B date.oem) * 60 * 1000;\r\n\tif (sd \u003E= oed){\r\n \r\n }\r\n \telse if (sd \u003C oed){\r\n \r\n }\r\n})","IsDeferred":false}]}