Documentation
¶
Index ¶
- func CheckFail(ctx *RunContext, res language.Status, group *problems.Group, ...) error
- func CheckOK(ctx *RunContext, res language.Status, group *problems.Group, ...) error
- func Cleanup(ctx *RunContext) error
- func Init(*RunContext) error
- func PrepareFiles(ctx *CompileContext) (language.File, []language.File, error)
- func Run(ctx *RunContext, group *problems.Group, testcase *problems.Testcase) (language.Status, error)
- type Batch
- type CompileContext
- type RunContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(ctx *RunContext) error
func Init ¶
func Init(*RunContext) error
func PrepareFiles ¶
Types ¶
type Batch ¶
type Batch struct { PrepareFilesF func(*CompileContext) (language.File, []language.File, error) InitF func(*RunContext) error RunF func(*RunContext, *problems.Group, *problems.Testcase) (language.Status, error) CheckOKF func(*RunContext, language.Status, *problems.Group, *problems.Testcase) error CheckFailF func(*RunContext, language.Status, *problems.Group, *problems.Testcase) error CleanupF func(*RunContext) error }
type CompileContext ¶
Click to show internal directories.
Click to hide internal directories.