开始编写例子

This commit is contained in:
lyy
2016-09-27 10:23:36 +08:00
parent 9e3f70f59d
commit 1154470759
25 changed files with 635 additions and 199 deletions

View File

@@ -2,14 +2,13 @@ package com.example.arial.downloaddemo;
import org.junit.Test;
import static org.junit.Assert.*;
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);
}
@Test public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
}