#122 unit test: image comparison for border

Closed
opened 2 years ago by ranides · 0 comments
ranides commented 2 years ago

We want to implement assertions for unit tests which compare BMP/PNG image loaded from "expected resources" with generated ones.

It is useful to check if we generated correct swing Border object: we can generate border, paint some shape using it on canvas, and then compare result with PNG image stored in test/resource directory.

We want to implement assertions for unit tests which compare BMP/PNG image loaded from "expected resources" with generated ones. It is useful to check if we generated correct swing Border object: we can generate border, paint some shape using it on canvas, and then compare result with PNG image stored in test/resource directory.
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.