mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-08 12:01:22 +00:00
16 lines
288 B
Rust
16 lines
288 B
Rust
use self::utils::TestRig;
|
|
use types::ChainSpec;
|
|
|
|
mod utils;
|
|
|
|
#[test]
|
|
fn it_can_produce_blocks() {
|
|
let validator_count = 2;
|
|
let blocks = 3;
|
|
|
|
let mut rig = TestRig::new(ChainSpec::foundation(), validator_count);
|
|
for _ in 0..blocks {
|
|
rig.produce_next_slot();
|
|
}
|
|
}
|