ghostscript

package
v0.0.0-...-9474aff Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package ghostscript provides common utilities for testing ghostscript filters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTest

func RunTest(ctx context.Context, s *testing.State, gsFilter, input, golden, envVar string)

RunTest runs a ghostscript filter given by gsFilter and verifies that the output produced by running the given input file through the filter matches the contents of the given golden file. Some filters may require an extra environment variable to be set, which is given by envVar.

Types

This section is empty.

Jump to

Keyboard shortcuts

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