#122 unit test: image comparison for border

已關閉
ranides2 年之前創建 · 0 條評論
ranides commented 2 年之前

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.
ranides2 年之前 關閉
Sign in to join this conversation.
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容