12345678910111213141516171819202122232425 |
-
-
- import static org.junit.Assert.*;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
-
- public class BinsTest
- { Bins testBins = new Bins();
- @Test
- public void getTensTest(){
- Integer expected = 0;
- Integer actual = testBins.getTens();
- assertEquals(expected,actual);
- }
-
- @Test
- public void incrementTest(){
- Integer expected = 1;
- testBins.increment(10);
- Integer actual = testBins.getTens();
- assertEquals(expected,actual);
- }
- }
|