Select Git revision
ExampleUnitTest.java
-
GitLab authored
Template repository: https://gitlab.com/gitlab-org/project-templates/android Commit SHA: 3335e7dd28a80950e113b60cf236269e1c779e4d
GitLab authoredTemplate repository: https://gitlab.com/gitlab-org/project-templates/android Commit SHA: 3335e7dd28a80950e113b60cf236269e1c779e4d
ExampleUnitTest.java 383 B
package com.example.myfirstapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}