From 68a4961651409045e2754ddde7ea6b28f131b93a Mon Sep 17 00:00:00 2001 From: nabilasuwandira <202310715066@mhs.ubharajaya.ac.id> Date: Fri, 7 Nov 2025 14:35:06 +0700 Subject: [PATCH] exampleunit --- .../example/kalkulatorbmi/ExampleUnitTest.kt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app/src/test/java/com/example/kalkulatorbmi/ExampleUnitTest.kt diff --git a/app/src/test/java/com/example/kalkulatorbmi/ExampleUnitTest.kt b/app/src/test/java/com/example/kalkulatorbmi/ExampleUnitTest.kt new file mode 100644 index 0000000..f968d75 --- /dev/null +++ b/app/src/test/java/com/example/kalkulatorbmi/ExampleUnitTest.kt @@ -0,0 +1,17 @@ +package com.example.kalkulatorbmi + +import org.junit.Test + +import org.junit.Assert.* + +/** + * Example local unit test, which will execute on the development machine (host). + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +class ExampleUnitTest { + @Test + fun addition_isCorrect() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file