Shuffling and sanity tests

This commit is contained in:
Michael Sproul
2019-08-29 17:41:20 +10:00
parent 23a308e595
commit 81cafdc804
16 changed files with 311 additions and 384 deletions

View File

@@ -1,6 +1,7 @@
use super::*;
use compare_fields::{CompareFields, Comparison, FieldComparison};
use std::fmt::Debug;
use std::path::PathBuf;
use types::BeaconState;
pub const MAX_VALUE_STRING_LEN: usize = 500;
@@ -9,6 +10,7 @@ pub const MAX_VALUE_STRING_LEN: usize = 500;
pub struct CaseResult {
pub case_index: usize,
pub desc: String,
pub path: PathBuf,
pub result: Result<(), Error>,
}
@@ -17,6 +19,7 @@ impl CaseResult {
CaseResult {
case_index,
desc: case.description(),
path: case.path().into(),
result,
}
}