mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-08-25 10:35:03 -05:00
Test some more illegal egg move combinations
This commit is contained in:
@@ -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']},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user