pokemon-showdown/test
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
..
application Support gTLDs in e-mail addresses (#4931) 2018-10-25 15:40:18 -05:00
chat-plugins Trivia: fix crash in Trivia#destroy, pause when too many players absent (#3531) 2017-05-13 19:35:57 -05:00
simulator Implement proper RNG for speed ties 2018-11-27 22:22:34 -06:00
.eslintrc Modify data and mods files to follow style rules 2016-01-01 00:18:00 +01:00
assert.js Refactor BattleEngine 2016-10-22 23:11:26 -05:00
common.js Refactor battle stream system 2018-01-28 21:06:49 -06:00
main.js Use default config for tests (#4959) 2018-11-08 10:13:32 -06:00
mocha.opts Remove validate-conditionals eslint rule 2018-01-19 13:25:10 -06:00