zkutalik / ssimp_software

GNU General Public License v3.0
16 stars 10 forks source link

More complete imputation, with a test #3

Closed aaronmcdaid closed 7 years ago

aaronmcdaid commented 7 years ago

I've completed the imputation. It still might have some problems of course, but it does work for one test

To run the test, try this

stu tests/test0/output.actual

Then, run git diff afterwards. The 'expected' output is within git -- therefore, if the test completes as expected then the actual contents of tests/test0/output.actual will be unchanged (compared to what's in git). Therefore, git diff after you run the above will show no changes.

You could make a small change to the lambda in tests/test0/command and then rerun stu tests/test0/output.actual to see that the output will be slightly different (via git diff --word-diff)

aaronmcdaid commented 7 years ago

Actually, I think it did work correctly the first time. Hence I'm reopening this

20 minutes ago, I thought I had pushed/merged an older version of my code. But it's OK after all.

I've added a new test, as described in the pull request 20 minutes ago