I perform mutation testing, and on this line
for(i=0;i<100;i++)
is created a mutant "Changed conditional boundary". I know that the operator '<' is changed to '<='. My question is how can I kill this mutant? In addition is the whole for loop.
public int addAccount(BankAccount acc) {
int i=0;
for(i=0;i<100;i++) {
if(getAccounts()[i]==null) {
break;
}
}
getAccounts()[i]=acc;
return i;
}