#122 unit test: image comparison for border

Fechado
2 anos atrás foi aberto por ranides · 0 comentários

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.
Faça login para participar desta conversação.
Sem milestone
Não atribuída
1 participantes
Carregando...
Cancelar
Salvar
Ainda não há conteúdo.