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.
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.