quicktest 0.0.2

Command Line Interface (CLI) for stress testing in competitive programming contest
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 *  Quick Test: CLI for stress testing in competitive programming
 *  Copyright (C) 2021  Luis Miguel Báez
 *  License: MIT (See the LICENSE file in the repository root directory)
 */

use std::time::Duration;

pub trait Compiler {
    fn compile(&self);
    fn execute(&self, timeout: u32) -> Duration;
}

pub trait Interpreter {
    fn execute(&self, timeout: u32) -> Duration;
}