lukebemishprojects / BiomeSquisher

New approach to adding biomes to the vanilla Minecraft biome map, using non-linear transforms of biome space to losslessly insert new biomes
BSD 3-Clause "New" or "Revised" License
14 stars 2 forks source link

Add unit tests #1

Closed lukebemish closed 1 year ago

lukebemish commented 1 year ago

Currently, I test stuff on a "load it and see what it looks like" basis. Ideally, I'd have a system to apply unit tests on the test project - basically, load up a partial version of the game, apply the mappings, check the outputs against a PNG file kept in the test source set somewhere.

lukebemish commented 1 year ago

Unit tests added, using GameTests! Required only minor hackiness