I am having trouble deciding how I should unit test a set of classes I have been writing for a game. I am working on the Player
abstract class and have written some methods I need to unit test for correctness, but Player
is still abstract and I haven't created an implementation yet, and it depends on other classes I have yet to implement. Does anyone have an idea of how to test this?
Please note that thees methods are just utility methods that don't need an implementation of Player
to work, but is seems wrong to take them out of the class just so I can test them.