StevensSEC / pokemonbattlelib

A portable library for accurately simulating Pokemon battles.
GNU General Public License v3.0
12 stars 2 forks source link

Tests do not compare Pokemon pointers #359

Closed adapap closed 3 years ago

adapap commented 3 years ago

Maybe a possible limitation of the way we handle the have transaction matchers, but pointers for Pokemon in the targets are not compared by pointer value; therefore, tests using two different copies of PkmnDefault() will not fail even if they check for the wrong object.