lighthouse/tests/ef_tests/src/lib.rs

23 lines
499 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;
2019-05-23 06:55:50 +00:00
pub use cases::Case;
2019-05-15 01:41:25 +00:00
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
mod bls_setting;
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-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(&self) -> Vec<CaseResult>;
2019-05-15 01:27:22 +00:00
}