mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-03 05:43:09 +00:00
17 lines
387 B
Rust
17 lines
387 B
Rust
use async_trait::async_trait;
|
|
use testing_framework_core::scenario::{DynError, Expectation, RunContext};
|
|
|
|
pub struct YourExpectation;
|
|
|
|
#[async_trait]
|
|
impl Expectation for YourExpectation {
|
|
fn name(&self) -> &'static str {
|
|
"your_expectation"
|
|
}
|
|
|
|
async fn evaluate(&mut self, _ctx: &RunContext) -> Result<(), DynError> {
|
|
// implementation
|
|
Ok(())
|
|
}
|
|
}
|