ExampleUnitTest.kt 953 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.example.asdfasdfawf
  2. import com.example.modifier.Utils
  3. import com.example.modifier.utils.genICCID
  4. import com.example.modifier.utils.genIMEI
  5. import com.example.modifier.utils.genIMSI
  6. import kotlinx.coroutines.CoroutineScope
  7. import kotlinx.coroutines.Dispatchers
  8. import kotlinx.coroutines.coroutineScope
  9. import kotlinx.coroutines.delay
  10. import kotlinx.coroutines.launch
  11. import kotlinx.coroutines.runBlocking
  12. import kotlinx.coroutines.withTimeout
  13. import org.junit.Test
  14. import org.junit.Assert.*
  15. import java.time.LocalDateTime
  16. import java.time.ZoneId
  17. import java.time.ZonedDateTime
  18. import java.time.format.DateTimeFormatter
  19. /**
  20. * Example local unit test, which will execute on the development machine (host).
  21. *
  22. * See [testing documentation](http://d.android.com/tools/testing).
  23. */
  24. class ExampleUnitTest {
  25. @Test
  26. fun test1() {
  27. println(genIMEI())
  28. println(genICCID("240", "1"))
  29. println(genIMSI("310240"))
  30. }
  31. }