Jul 20, 2010 09:35
Shall I compare thee to my unit tests?
Thou art more constant, and with grace you pass:
Rough change may turn the sweetest code to pests,
And threads that seem robust may race and crash;
Sometime too fickle are the fors and whiles,
And oft the timestamp now is later late;
And every line of code that now compiles,
When standards are revised, shall deprecate;
But thy eternal Function shall be pure,
Shall raise exception only if miscalled,
Nor Memory shall cry thou leaketh her,
And each assertion false shall be forestalled:
So long as True is True and pi's not three,
So runneth this; it shall not fail for thee.