unit test

This commit is contained in:
sathwikcs
2025-01-30 17:20:46 +05:30
parent 89577cf867
commit 6e2092a2b0

View File

@@ -1,8 +1,10 @@
package `in`.sminnovations.attendanceapp package `in`.sminnovations.attendanceapp
import com.google.firebase.Timestamp
import org.junit.Assert.assertEquals
import org.junit.Test import org.junit.Test
import java.text.SimpleDateFormat
import org.junit.Assert.* import java.util.Locale
/** /**
* Example local unit test, which will execute on the development machine (host). * Example local unit test, which will execute on the development machine (host).
@@ -10,8 +12,11 @@ import org.junit.Assert.*
* See [testing documentation](http://d.android.com/tools/testing). * See [testing documentation](http://d.android.com/tools/testing).
*/ */
class ExampleUnitTest { class ExampleUnitTest {
@Test @Test
fun addition_isCorrect() { fun addition_isCorrect() {
assertEquals(4, 2 + 2) assertEquals(4, 2 + 2)
} }
} }