Coverage Report
Test Session
measured on October 25, 2010 2:27:54 PM CEST
up to the title page
de . fhwi . codecover . TestJunit . testFib
Statement Coverage Branch Coverage Loop Coverage Strict Condition Coverage
public void testFib() 4 / 6 66 %
1 / 2 50 %
1 / 3 33 %
1 / 1 100 %
TestJunit.java
98       public void testFib(){
99           int[] expected = {0,1,1,2,3,5};
100           int[] actual = {0,0,0,0,0,0};
101           try {
102               actual = objFib.iterativ(6);
103           } catch (Exception e) {
104               fail();
105               e.printStackTrace();
106           }
107           for(int i=0;i<=5;i++){
108               assertEquals(expected[i], actual[i]);
109           }
110           
111           
112       }
created on October 25, 2010 2:27:54 PM CEST with CodeCover