Commit Graph

6 Commits

Author SHA1 Message Date
Ivo Julca
67da1a1221 Test: Use the new common#createBattle method
- This cuts down tons of code that define player names, avatars,
and deal with Team Preview.
2016-06-17 05:45:22 -05:00
Ivo Julca
2ab2937b3c Implement assert extensions to enhance the test suite 2016-06-15 08:54:18 -05:00
Juanma Serrano
c4ac8d6e2f Use strict mode and let and const instead of var
This commit also fixes some duplicated variable declarations.
2015-11-06 21:56:52 -05:00
Kevin Lau
d7b77a76a4 Mocha: Normalize oldgen descriptions for tests
Listing the generation number imitates the style used in PS! format names,
and is clearer on which generation it is than listing games from that gen
(so GSC -> Gen 2, etc)
2015-06-19 00:25:03 -07:00
Ivo Julca
b9e972529b Actually make the regression tests meaningful
Also Boomburst did not exist before XY, and Uproar wasn't authentic either.
2015-04-13 02:25:34 -05:00
Ivo Julca
d367bf2650 Add regression tests for damaging moves affected by 58a5d91 2015-04-13 01:13:56 -05:00