pokemon-showdown/test/simulator
Guangcong Luo b95fe3a497 Implement proper RNG for speed ties
So the Pursuit unit test is broken in Node 0.11, because PS relies on
the sort function deterministically calling the comparison function,
and due to a recent V8 update, the call order changed.

This was a good thing, anyway, since PS didn't handle 3+-way speed ties
correctly, anyway, and it reminded me to go and fix that. Which I did.

This is as cartridge-accurate as possible, given the description given
to me by V4 in #1157.

Fixes #1157
2018-11-27 22:22:34 -06:00
..
abilities Add Parental Bond Tests (#4803) 2018-08-11 11:44:08 +09:00
items Refactor tests to use new makeChoices API (#4528) 2018-03-30 16:06:14 -05:00
misc Add a test for self-damage critical hits (#4954) 2018-11-04 10:55:49 -06:00
moves Implement proper RNG for speed ties 2018-11-27 22:22:34 -06:00