tests: added eqeq test
tests: sum-test: emproved test sum of int with various types of second argument (byte, short and etc) tests: hello2 minor fix in test
This commit is contained in:
committed by
vvlevchenko
parent
265f688425
commit
a910627357
@@ -1 +1,8 @@
|
||||
fun sum(a:Int, b:Int) = a + b
|
||||
fun sumIB(a:Int, b:Byte ) = a + b
|
||||
fun sumIS(a:Int, b:Short ) = a + b
|
||||
fun sumII(a:Int, b:Int ) = a + b
|
||||
fun sumIL(a:Int, b:Long ) = a + b
|
||||
fun sumIF(a:Int, b:Float ) = a + b
|
||||
fun sumID(a:Int, b:Double) = a + b
|
||||
|
||||
fun modID(a:Int, b:Double) = a % b
|
||||
Reference in New Issue
Block a user