Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
febg-codecov committed Sep 5, 2019
1 parent e1de6c6 commit 459624a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/test/java/codecov/IndexTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package codecov;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class IndexTest {

Index index = new Index();

@Test
public void testUncoveredIf() {
assertEquals(false, index.uncovered_if(true));
}

@Test
public void TestFullyCovered() {
assertEquals(true, index.fully_covered());
}
}

0 comments on commit 459624a

Please sign in to comment.