testutils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(t *testing.T, got, want *image.NRGBA64)

func LoadPNM

func LoadPNM(data string) *image.NRGBA64

LoadPNM loads a PNM image from string and convert it to *image.NRGBA64.

func ToNRGBA64

func ToNRGBA64(img image.Image) *image.NRGBA64

ToNRGBA64 converts an image.Image to *image.NRGBA64.

Types

This section is empty.

Jump to

Keyboard shortcuts

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