lang

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CppTester

type CppTester struct {
	ProgName string
}

func (*CppTester) Compile

func (t *CppTester) Compile() error

func (*CppTester) Run

func (t *CppTester) Run(sampleID string, timeout time.Duration) (string, error)

type GoTester

type GoTester struct {
	ProgName string
}

func (*GoTester) Compile

func (t *GoTester) Compile() error

func (*GoTester) Run

func (t *GoTester) Run(sampleID string, timeout time.Duration) (string, error)

type Tester

type Tester interface {
	Compile() error
	Run(sampleID string, timeout time.Duration) (string, error)
}

Tester is a interface for testing programs.

func GetTester

func GetTester(fileName string) Tester

Jump to

Keyboard shortcuts

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