From: Stefan F. <ste...@we...> - 2014-08-24 16:40:07
|
Why does it now allow a bid of zero? Excuse my ignorance. It is easy to add a test case for the 18EU again, at least for the initial auction, so I recommend to go ahead with a). Please be not too afraid to change core classes. There are only a few cases to be really careful, as they are complex, easy to break and/or there no automated tests: A) Algorithm package (complex, easy to break, no automated tests) B) UI classes (easy to break, no automated tests) C) Action classes (easy to break) On 08/24/2014 06:05 AM, Michael Alexander wrote: > The current implementation of StartItem doesn't allow a bid of 0. I > made a StartItem_1862 which does allow it - but there's no mechanism to > specify the class of a start item in the XML. So I could go a couple > ways with this: > > a) Put the differences from StartItem_1862 into StartItem. I can then > run the tests to make sure I didn't break other games, but I worry a bit > because there are mentions of 18EU in StartItem, but no tests for 18EU. > > b) Add the ability to specify the class for each StartItem in the XML. > > Is there a preference for which way I should go with this? > > Mike > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > > > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |