Added default unit test from the newer sample projects.
This commit is contained in:
parent
993b7c5e21
commit
f63a4fb298
2 changed files with 17 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
package com.kabouzeid.gramophone;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* To work on unit tests, switch the Test Artifact in the Build Variants view.
|
||||
*/
|
||||
public class ExampleUnitTest {
|
||||
@Test
|
||||
public void addition_isCorrect() throws Exception {
|
||||
assertEquals(4, 2 + 2);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue