ucfirst(reverse(lower(Lime)))
after a similar tool called Lime for testing Java programs, developed here as well).Emil is currently at 2.9 KLOC, and for the first time, I wrote a test case that should fail, and it failed on the first attempt! This is somewhat a milestone so I now celebrate it by showing the test case and the failing inputs found by Emil. This is of course all trivial and useless, but I believe Emil is going to the right direction.
==divzero.c==
int input(void);
int main() {
int i = input();
int j = input();
if (i > j) {
i = i / (0*j); // ouch
} else {
i = j;
}
return i;
}
==Values for i, j by Emil that will lead to division by zero==
{i: 892648572, j: -1285173836}
I hope this is just the beginning for Emil. The future of Emil will be out of my hands, though, because I will (in my current knowledge) leave Emil in the hands of others before next year and be searching for new challenges in the software industry.
No comments:
Post a Comment