Jofthomas's picture
Jofthomas HF staff
Upload 4781 files
5c2ed06 verified
raw
history blame contribute delete
629 Bytes
/**
* Tests for Gen 7 randomized formats
*/
'use strict';
const assert = require('../assert');
const { testSet } = require('./tools');
describe('[Gen 7] Random Battle (slow)', () => {
const options = { format: 'gen7randombattle' };
it('should not give mega evolution abilities to base formes', () => {
testSet('manectricmega', { rounds: 1, ...options }, set => {
assert(set.ability !== 'Intimidate', 'Mega Manectric should not have Intimidate before it mega evolves');
});
});
it('should not give Ursaring Eviolite', () => {
testSet('ursaring', options, set => assert.notEqual(set.item, 'Eviolite'));
});
});