ExampleUnitTest.java 325 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package com.chaychan.powerfulviewlibrary;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * 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);
    }
}