#122 unit test: image comparison for border

已关闭
ranides2 年之前创建 · 0 条评论
ranides 评论于 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 年之前 关闭
登录 并参与到对话中。
未选择里程碑
未指派成员
1 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。