{"ScriptPreparationCode":null,"TestCases":[{"Name":"If-else 2","Code":"let axis = 1;\r\n\r\nif (axis === 0) {\r\n\treturn true;\r\n} else if (axis === 2) {\r\n \treturn true;\r\n}\r\n\r\nreturn true;","IsDeferred":false},{"Name":"Switch 2","Code":"let axis = 1;\r\n\r\nswitch (axis) {\r\n case 0:\r\n return true;\r\n case 2:\r\n return true;\r\n default:\r\n return true;\r\n}","IsDeferred":false},{"Name":"If-else 4","Code":"let shape = { \u0027type\u0027: \u0027box\u0027 };\r\n\r\nif (shape.type === \u0027capsule\u0027) {\r\n\treturn true;\r\n} else if (shape.type === \u0027cone\u0027) {\r\n \treturn true;\r\n} else if (shape.type === \u0027cylinder\u0027) {\r\n \treturn true;\r\n} else if (shape.type === \u0027sphere\u0027) {\r\n \treturn true;\r\n}\r\n\r\nreturn true;","IsDeferred":false},{"Name":"Switch 4","Code":"let shape = { \u0027type\u0027: \u0027box\u0027 };\r\n\r\nswitch (shape.type) {\r\n case \u0027capsule\u0027:\r\n return true;\r\n case \u0027cone\u0027:\r\n return true;\r\n case \u0027cylinder\u0027:\r\n return true;\r\n case \u0027sphere\u0027:\r\n return true;\r\n default:\r\n return true;\r\n}","IsDeferred":false}]}