execute

package
v0.0.0-...-4fffddb Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 5 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(run func(string) (interface{}, interface{}), tests TestCases, puzzle string, verbose bool)

func RunWithPixel

func RunWithPixel(run func(string) (interface{}, interface{}), tests TestCases, puzzle string, verbose bool)

Types

type TestCase

type TestCase struct {
	Input                        string
	ExpectedPart1, ExpectedPart2 interface{}
}

type TestCases

type TestCases []TestCase

func (TestCases) Run

func (t TestCases) Run(fn func(string) (interface{}, interface{}), hideInput bool)

Jump to

Keyboard shortcuts

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