Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -71,11 +71,12 @@ public class HiddenPowerTests
|
||||
/// <summary>
|
||||
/// Creates a mocked executing move whose user has the given IVs and a library containing all 18 types.
|
||||
/// </summary>
|
||||
private static (IExecutingMove executingMove, IPokemon target) CreateTestSetup(IndividualValueStatisticSet ivs)
|
||||
private static (IExecutingMove executingMove, IBattlePokemon target) CreateTestSetup(
|
||||
IndividualValueStatisticSet ivs)
|
||||
{
|
||||
var executingMove = Substitute.For<IExecutingMove>();
|
||||
var user = Substitute.For<IPokemon>();
|
||||
var target = Substitute.For<IPokemon>();
|
||||
var user = Substitute.For<IBattlePokemon>();
|
||||
var target = Substitute.For<IBattlePokemon>();
|
||||
var dynamicLibrary = Substitute.For<IDynamicLibrary>();
|
||||
var staticLibrary = Substitute.For<IStaticLibrary>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user