PKHeX/Tests/PKHeX.Core.Tests/Legality
Kurt bced546c63
Memoize Ball Breeding permission tables (#4050)
O(1) lookup for arbitrary species, some edge handling rules for specific game islands/forms. With HOME, there's only 3 islands of permissions. No allocation besides the singletons which aren't really necessary.

No longer need to peek within multiple hashsets, just fetch the "is possible" bit from the species listing and check if the bit is set.

Will be fun if ball shell swaps are added 🤞, get to set all bits for anything that can enter game with that feature (if ever added).

Add unit test for gen67 no-patch exclusion
2023-11-02 15:55:26 -07:00
..
Illegal Add Xoroshiro128Plus Solver, SW/SH Raid verification (#3961) 2023-08-14 20:01:38 -07:00
Legal Change OT name of test cases 2023-10-11 19:27:31 -07:00
BallTests.cs Memoize Ball Breeding permission tables (#4050) 2023-11-02 15:55:26 -07:00
BreedTests.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
LearnabilityTests.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
LegalityData.cs Misc fixes 2023-07-06 19:41:27 -07:00
LegalityRules.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
LegalityTests.cs Minor clean 2023-10-28 22:07:58 -07:00
RaidTests.cs Misc tweaks 2023-09-26 09:32:49 -07:00
ShadowTests.cs Minor minor perf 2023-04-15 01:58:37 -07:00
Wild8aRNGTests.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
Wild8bRNGTests.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00