Support for integration tests, fixes
This commit is contained in:
1 parent
e7dc885afd
commit
2a0aaed4c3
13 files changed
+346
-14
No files matched your search
@@ -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