testcase

package
v0.0.0-...-514d07b Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestcaseManager

func NewTestcaseManager(s3reader *loader.S3reader, database *loader.Postgres) *testcaseManager

Types

type Testcase

type Testcase struct {
	// metadata should be here
	Elements []loader.Element
}

func (*Testcase) Count

func (t *Testcase) Count() int

type TestcaseFilterCode

type TestcaseFilterCode int8
const (
	ALL TestcaseFilterCode = 0 + iota
	PUBLIC_ONLY
	HIDDEN_ONLY
)

type TestcaseManager

type TestcaseManager interface {
	GetTestcase(problemId string, testcaseFilter TestcaseFilterCode) (Testcase, error)
}

Jump to

Keyboard shortcuts

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