2024-08-23 09:15:53 +00:00
|
|
|
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!;
|
2025-02-08 08:49:16 +00:00
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
return Name;
|
|
|
|
}
|
2024-08-23 09:15:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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!;
|
|
|
|
}
|