mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-09 03:17:55 +00:00
ef_tests: sanity slot tests + block headers
This commit is contained in:
@@ -124,6 +124,33 @@ fn operations_attestation() {
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn operations_block_header() {
|
||||
yaml_files_in_test_dir(&Path::new("operations").join("block_header"))
|
||||
.into_par_iter()
|
||||
.for_each(|file| {
|
||||
Doc::assert_tests_pass(file);
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sanity_blocks() {
|
||||
yaml_files_in_test_dir(&Path::new("sanity").join("blocks"))
|
||||
.into_par_iter()
|
||||
.for_each(|file| {
|
||||
Doc::assert_tests_pass(file);
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sanity_slots() {
|
||||
yaml_files_in_test_dir(&Path::new("sanity").join("slots"))
|
||||
.into_par_iter()
|
||||
.for_each(|file| {
|
||||
Doc::assert_tests_pass(file);
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(feature = "fake_crypto"))]
|
||||
fn bls() {
|
||||
|
||||
Reference in New Issue
Block a user