Support for integration tests, fixes
This commit is contained in:
31
PkmnLib.Tests/Integration/Models/IntegrationTestModel.cs
Normal file
31
PkmnLib.Tests/Integration/Models/IntegrationTestModel.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
namespace PkmnLib.Tests.Integration.Models;
|
||||
|
||||
public class IntegrationTestModel
|
||||
{
|
||||
public string Name { get; set; } = null!;
|
||||
public string Description { get; set; } = null!;
|
||||
public IntegrationTestBattleSetup BattleSetup { get; set; } = null!;
|
||||
public IntegrationTestAction[] Actions { get; set; } = null!;
|
||||
}
|
||||
|
||||
public class IntegrationTestBattleSetup
|
||||
{
|
||||
public int Seed { get; set; }
|
||||
public bool CanFlee { get; set; }
|
||||
public byte NumberOfSides { get; set; }
|
||||
public byte PositionsPerSide { get; set; }
|
||||
public IntegrationTestParty[] Parties { get; set; } = null!;
|
||||
}
|
||||
|
||||
public class IntegrationTestParty
|
||||
{
|
||||
public List<List<byte>> Indices { get; set; } = null!;
|
||||
public IntegrationTestPokemon[] Pokemon { get; set; } = null!;
|
||||
}
|
||||
|
||||
public class IntegrationTestPokemon
|
||||
{
|
||||
public string Species { get; set; } = null!;
|
||||
public LevelInt Level { get; set; }
|
||||
public string[] Moves { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user