Update test data, unmute test

Now behavior is the same as in OI for these cases.
 The behavior was changed in 100a6f70ca
This commit is contained in:
Mikhail Zarechenskiy
2020-07-17 07:46:55 +03:00
parent a05681001f
commit a6e58edfb9
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
class TestNumberConversionsInTernary {
fun intOrDoubleAsDouble(flag: Boolean, x: Int, y: Double): Double {
return (if (flag) x else y).toDouble()
return if (flag) x.toDouble() else y
}
}
}