diff --git a/test/application/team-validator.js b/test/application/team-validator.js index c915899ede3c..3b3b3141fbad 100644 --- a/test/application/team-validator.js +++ b/test/application/team-validator.js @@ -126,6 +126,24 @@ describe('Team Validator', function () { illegal = TeamValidator('gen2ou').validateTeam(team); assert.strictEqual(illegal, null); + team = [ + {species: 'skarmory', ability: 'keeneye', moves: ['curse', 'drillpeck']}, + ]; + illegal = TeamValidator('gen3ou').validateTeam(team); + assert(illegal); + + team = [ + {species: 'skarmory', ability: 'keeneye', moves: ['whirlwind', 'drillpeck']}, + ]; + illegal = TeamValidator('gen3ou').validateTeam(team); + assert(illegal); + + team = [ + {species: 'armaldo', ability: 'battlearmor', moves: ['knockoff', 'rapidspin']}, + ]; + illegal = TeamValidator('gen3ou').validateTeam(team); + assert(illegal); + team = [ {species: 'snorlax', ability: 'immunity', moves: ['curse', 'pursuit']}, ];