Struct gcj_helper::TestEngine [] [src]

pub struct TestEngine<I: AsRef<Path>, O: AsRef<Path>> { /* fields omitted */ }

Facilitates the execution of problem solving code.

Methods

impl<I: AsRef<Path>, O: AsRef<Path>> TestEngine<I, O>
[src]

Creates a new test engine using the specified input and output file paths.

Calling this method is cheap; no files are opened until TestEngine::run() is called.

Consumes the test engine, executing a parser and solver once per test case.

Panics

This method panics in the event of an I/O error.

impl TestEngine<OsString, OsString>
[src]

Creates a new test engine using input and output file paths obtained from command line arguments.

Calling this method is cheap; no files are opened until TestEngine::run() is called.

Panics

This method panics if either the input file path or output file path is missing.

Trait Implementations

impl<I: Debug + AsRef<Path>, O: Debug + AsRef<Path>> Debug for TestEngine<I, O>
[src]

Formats the value using the given formatter.

impl Default for TestEngine<OsString, OsString>
[src]

Returns the "default value" for a type. Read more