Fresh box tests

This commit is contained in:
Igor Chevdar
2017-05-15 14:40:26 +03:00
parent 12847428fa
commit e15878bfe9
179 changed files with 1378 additions and 135 deletions
@@ -1,5 +1,7 @@
data class A(val a: Boolean)
fun box() : String {
return if( A(true).hashCode()==1 && A(false).hashCode()==0 ) "OK" else "fail"
if (A(true).hashCode() != 1) return "fail1"
if (A(false).hashCode() !=0) return "fail2"
return "OK"
}