Commit Graph

14 Commits

Author SHA1 Message Date
Ivo Julca
fc89d5f372 Test suite is now deterministic 2015-06-26 21:55:43 -05:00
Kevin Lau
85ee0961c1 Further upgrade status move tests
Steel-types are immune to the poison status in Gen 3+, so wrap it into the
"fail when the opposing Pokemon is immune to the status it sets" and set
up the poison-inflicting status test to check Generation 2.

Spin off Thunder Wave to its own test, and also create a test for Glare to
check its Generation 3 behavior as well.
2015-06-18 17:05:49 -07:00
Kevin Lau
6d76928ec3 Add Battle#on tests 2015-06-09 03:42:32 -07:00
Kevin Lau
26f88d2f89 Change weight tests to use the new event handlers 2015-06-09 03:42:27 -07:00
Kevin Lau
1f10dc1185 Add terrain tests, Arena Trap tests, Inverse Battle tests 2015-05-17 19:43:15 -07:00
Kevin Lau
dd80e38322 Upgrade tests
- Improve the wording on tests for status moves to be more clear
- Add a test for Stealth Rocks
2015-05-10 15:40:52 -07:00
Ivo Julca
245f9bd8ac Hackmons: add failing test for choice parsing when a pokémon knows Struggle 2015-04-26 17:36:06 -05:00
Kevin Lau
5976efea2b Add Mocha tests for status effects 2015-04-16 15:50:11 -07:00
Joimer
d46d5ca598 Properly add status immunity test
It must have its own case.
We must check Pokémon of a type with a status immunity are actually immune.
2015-04-15 01:24:58 +02:00
Joimer
7cec8b6831 Update statuses test
Test also Thunder Wave not paralysing a Ground-type
2015-04-15 00:29:07 +02:00
Kevin Lau
f26b3fd279 Add type immunity tests in Mocha 2015-04-08 23:00:12 -07:00
Kevin Lau
f60181ac91 Add Regression Tests for Weight-Based Abilities/Items/Moves 2015-03-18 18:39:01 -07:00
Ivo Julca
68aaa48974 Gulpfile: no files are exempt from style checks
- Streams are merged to make sure that all errors and warnings are reported.
- Adds dev dependencies: `merge-stream` and `lazypipe`.
- Tracks a fork of `gulp-jshint` to fix https://github.com/spalger/gulp-jshint/issues/88
2015-02-18 19:51:15 -05:00
Ivo Julca
5508777d97 Add first few battle simulation tests 2015-02-15 13:35:43 -05:00