summaryrefslogtreecommitdiff
path: root/app/src/test/java
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2024-12-18 03:28:02 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2024-12-18 03:28:02 +0330
commitd4573cacc141748c44bb6bbea7528bdd46afc3d5 (patch)
treed5915bd32b2e58bae60ca906ec9475656c8a0e87 /app/src/test/java
initial commit
Diffstat (limited to 'app/src/test/java')
-rw-r--r--app/src/test/java/com/a404m/calculator/ExampleUnitTest.kt20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/src/test/java/com/a404m/calculator/ExampleUnitTest.kt b/app/src/test/java/com/a404m/calculator/ExampleUnitTest.kt
new file mode 100644
index 0000000..4e8caf3
--- /dev/null
+++ b/app/src/test/java/com/a404m/calculator/ExampleUnitTest.kt
@@ -0,0 +1,20 @@
+package com.a404m.calculator
+
+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