Created
April 23, 2021 21:48
-
-
Save ZieIony/7b44e537f933d6780fa830ff1efdd7aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun myFunction(input: Int):Int { | |
return input * 2 | |
} | |
fun simpleTest() { | |
val testInput = 2 | |
val testOutput = 4 | |
if (myFunction(testInput) != testOutput) | |
// test failed | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment