Fix failing tests, copy testData
Some tests were using files that others called blackBoxFile() on. Since those files are now moved to box/, copy them back to make the tests pass
This commit is contained in:
committed by
Alexander Udalov
parent
7ce62a5b64
commit
5313cf3bf0
@@ -0,0 +1,10 @@
|
||||
fun box() = IssueState.DEFAULT.ToString() + IssueState.FIXED.ToString()
|
||||
|
||||
enum class IssueState {
|
||||
DEFAULT
|
||||
FIXED {
|
||||
override fun ToString() = "K"
|
||||
}
|
||||
|
||||
open fun ToString() : String = "O"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
enum class State {
|
||||
O
|
||||
K
|
||||
}
|
||||
|
||||
fun box() = "${State.O.name()}${State.K.name()}"
|
||||
@@ -0,0 +1,12 @@
|
||||
enum class Season {
|
||||
WINTER
|
||||
SPRING
|
||||
SUMMER
|
||||
AUTUMN
|
||||
}
|
||||
|
||||
fun foo(): Season = Season.SPRING
|
||||
|
||||
fun box() =
|
||||
if (foo() == Season.SPRING) "OK"
|
||||
else "fail"
|
||||
Reference in New Issue
Block a user