ppictest

package
v0.0.0-...-a244deb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(grid [8][8]bool, expected [8]string) error

Compare an 8x8 grid to an expected image.

Expected image must be 8 lines, each consisting of 8 characters.

func CompareImage

func CompareImage(img image.Image, expectedPal ppic.Palette, expected [8]string) error

CompareImage compares an image with an expected image.

Expected image must be 8 lines, each consisting of 8 characters.

func Parse

func Parse(source [8]string) (grid [8][8]bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL