Back to photostream

2005DEC051055

This is what I was staring at for most of the day. Building a Win32 tool to test bulk input of data.

 

Rather than trying to get R to learn Unit testing for C framework I devised a simple architecture of passing in string consisting of string that consisted of:

 

Test string + PASS|FAIL + Comment

 

So the test code looks something like ....

 

Today is the day~pass~Today should be recognised.

 

So the C code can then read in all the different test cases & give a quick percentage pass or fail rate on how many tests have passed compared to how many it should pass.

 

All this without having to use a testing framework like NUnit, JUnit etc.

760 views
0 faves
0 comments
Uploaded on December 5, 2005
Taken on December 4, 2005