package com.tt.honeyDue

import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner

@RunWith(RobolectricTestRunner::class)
class CanaryUnitTest {

    @Test
    fun arithmetic_sanity() {
        assertEquals(2, 1 + 1)
    }

    @Test
    fun robolectric_android_runtime_available() {
        val appContext = androidx.test.core.app.ApplicationProvider.getApplicationContext<android.content.Context>()
        assertTrue(appContext.packageName.startsWith("com.tt.honeyDue"))
    }
}
