#122 unit test: image comparison for border

クローズ
2 年 前ranides によって開かれました · 0 コメント
ranides2 年 前 にコメントしました

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.
ranides 2 年 前 に閉じられました
会話に参加するには サインイン してください。
マイルストーンなし
担当者なし
1 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません