lighthouse/tests/ef_tests/src/lib.rs

22 lines
488 B
Rust
Raw Normal View History

2019-05-15 01:27:22 +00:00
use types::EthSpec;
2019-05-13 12:10:23 +00:00
2019-05-15 01:41:25 +00:00
pub use case_result::CaseResult;
pub use doc::Doc;
pub use error::Error;
2019-05-15 01:12:49 +00:00
pub use yaml_decode::YamlDecode;
2019-05-13 23:36:25 +00:00
2019-05-15 01:15:34 +00:00
mod case_result;
2019-05-15 01:17:32 +00:00
mod cases;
2019-05-15 01:15:34 +00:00
mod doc;
mod doc_header;
2019-05-13 12:10:23 +00:00
mod error;
2019-05-14 23:50:05 +00:00
mod eth_specs;
2019-05-15 01:12:49 +00:00
mod yaml_decode;
2019-05-15 01:27:22 +00:00
/// Defined where an object can return the results of some test(s) adhering to the Ethereum
/// Foundation testing format.
pub trait EfTest {
/// Returns the results of executing one or more tests.
fn test_results<E: EthSpec>(&self) -> Vec<CaseResult>;
}