TomPlum / advent-of-code-2019

:gift: My completion of Advent of Code 2019 in an enterprise-style codebase with an emphasis on design, readability and testing.
https://adventofcode.com/2019
Apache License 2.0
1 stars 1 forks source link

Test Support Module #11

Closed TomPlum closed 4 years ago

TomPlum commented 4 years ago

Maybe a new gradle module that the implementation:test src set depends on.

The InputReader could have its functions removed that take strings and just leave the ones with Days in. A FakeInputReader or something of the sorts could be added for use in test scope.

The same goes for the ExampleMap and ExampleTile objects nested in the AdventMap2DTest. These can be pulled out into their own Fake or Dummy implementations.

TomPlum commented 4 years ago

Everything seems to have been moved over to the support module now where necessary.