ExampleUnitTest.java 402 B

123456789101112131415161718
  1. package com.getcapacitor.myapp;
  2. import static org.junit.Assert.*;
  3. import org.junit.Test;
  4. /**
  5. * Example local unit test, which will execute on the development machine (host).
  6. *
  7. * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
  8. */
  9. public class ExampleUnitTest {
  10. @Test
  11. public void addition_isCorrect() throws Exception {
  12. assertEquals(4, 2 + 2);
  13. }
  14. }