Fundamentals
best solution
package solution import kotlin.test.assertEquals import org.junit.Test class TestExample { @Test fun multiply() { assertEquals(4, 4) } }
// You can test using JUnit or KotlinTest. JUnit is shown below// TODO: replace this example test with your own, this is just here to demonstrate usage.// TODO: replace with whatever your package is called- package solution
- import kotlin.test.assertEquals
- import org.junit.Test
- class TestExample {
- @Test
- fun multiply() {
- assertEquals(4, 4)
- }
- }