|
|
|
|
|
by klibertp
4009 days ago
|
|
> Fellow programmers, how exactly do you unit test a method / function which draws something on the canvas for example? We don't. Canvas drawing routines are hopefully unit-tested already by their authors. We do write unit tests for calculations and logic to make sure that the values passed to some canvas function are as expected. |
|