Rename Test trait to EfTest

This commit is contained in:
Paul Hauner
2019-05-15 11:27:22 +10:00
parent 57040efc2a
commit 4cb23dd342
5 changed files with 22 additions and 19 deletions

View File

@@ -16,8 +16,8 @@ impl YamlDecode for SszGeneric {
}
}
impl Test for Cases<SszGeneric> {
fn test<E: EthSpec>(&self) -> Vec<TestCaseResult> {
impl EfTest for Cases<SszGeneric> {
fn test_results<E: EthSpec>(&self) -> Vec<CaseResult> {
self.test_cases
.iter()
.enumerate()
@@ -42,7 +42,7 @@ impl Test for Cases<SszGeneric> {
Ok(())
};
TestCaseResult::new(i, tc, result)
CaseResult::new(i, tc, result)
})
.collect()
}

View File

@@ -41,8 +41,8 @@ impl SszStatic {
}
}
impl Test for Cases<SszStatic> {
fn test<E: EthSpec>(&self) -> Vec<TestCaseResult> {
impl EfTest for Cases<SszStatic> {
fn test_results<E: EthSpec>(&self) -> Vec<CaseResult> {
self.test_cases
.iter()
.enumerate()
@@ -76,7 +76,7 @@ impl Test for Cases<SszStatic> {
))),
};
TestCaseResult::new(i, tc, result)
CaseResult::new(i, tc, result)
})
.collect()
}