dipolesource/nttrs — pull request #3 by palfvin (2014-02-21 18:31:58+00:00)
Title: add EstablishedPlayer and MarcusPaper

Hope these are ok. I updated and renamed the capital_u_script_spec.rb to reflect that it's testing through EstablishedPlayerLaw now, although it's still not a unit test. Also, this change didn't affect the outcome in terms of the slight differences to table expectations. I also changed the test to compare the rounded results, as that's what Marcus said he did in terms of the paper. So, with all that, we still have two rounding errors which I left in until we decide what to do about them.

I extracted the support for the tables in the paper as much to try out OpenStruct, which I hadn't used before.

I'm going to wait a couple of days to see if Marcus gets back to us regarding test data. If he doesn't, I can go ahead and add real unit tests for the functions on the assumption that the current implementations work (i.e. generate test data from the current implementation) if you think thats worthwhile/helpful.

I'm going to test against Table 9 next.