Test suite
Test case 1
1: ActionVector actionVector0 = new ActionVector(); 2: actionVector0.elementAt(0);
Test case 2
1: ActionVector actionVector0 = new ActionVector(); 2: int int0 = actionVector0.size(); 3: assertEquals(0, int0);
Test case 3
1: ActionVector actionVector0 = new ActionVector(); 2: actionVector0.removeAndReturnLast();
Test case 4
1: ActionVector actionVector0 = new ActionVector(); 2: Action action0 = new Action(); 3: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence(",Dj[g79", ",Dj[g79"); 4: Bases bases0 = new Bases(fastaStreamSequence0); 5: Entry entry0 = Entry.newEntry(bases0); 6: EntryChangeEvent entryChangeEvent0 = new EntryChangeEvent(entry0, (Feature) null, 1); 7: action0.addEntryChangeEvent(entryChangeEvent0); 8: actionVector0.add(action0); 9: actionVector0.elementAt(0);
Test case 5
1: ActionVector actionVector0 = new ActionVector(); 2: Action action0 = new Action(); 3: actionVector0.add(action0); 4: Action action1 = actionVector0.elementAt(0); 5: assertSame(action1, action0);
Test case 6
1: ActionVector actionVector0 = new ActionVector(); 2: actionVector0.add((Action) null); 3: Action action0 = actionVector0.elementAt(0); 4: assertNull(action0);
Test case 7
1: ActionVector actionVector0 = new ActionVector(); 2: Action action0 = new Action(); 3: actionVector0.add(action0); 4: EntryChangeEvent entryChangeEvent0 = new EntryChangeEvent(action0, (Entry) null, 0); 5: action0.addEntryChangeEvent(entryChangeEvent0); 6: Action action1 = actionVector0.removeAndReturnLast(); 7: assertSame(action1, action0);
Test case 8
1: ActionVector actionVector0 = new ActionVector(); 2: actionVector0.add((Action) null); 3: Action action0 = actionVector0.removeAndReturnLast(); 4: assertNull(action0);
Test case 9
1: ActionVector actionVector0 = new ActionVector(); 2: Action action0 = new Action(); 3: actionVector0.add(action0); 4: int int0 = actionVector0.size(); 5: assertEquals(1, int0);
Test case 10
1: ActionVector actionVector0 = new ActionVector(); 2: Action action0 = new Action(); 3: actionVector0.add(action0); 4: actionVector0.add(action0); 5: actionVector0.removeAndReturnLast(); 6: assertEquals(1, actionVector0.size());
Source Code
1: No source found for uk.ac.sanger.artemis.ActionVector
EvoSuite Parameters
- TARGET_CLASS: uk.ac.sanger.artemis.ActionVector
- Size: 10
- Length: 40
- criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
- Coverage: 0.9119123931623931
- BranchCoverage: 0.875
- MethodCoverage: 1.0
- OutputCoverage: 0.8888888888888888