pub struct GraphTest {
pub name: Symbol,
pub input: Expr,
pub expect: Expr,
pub fixtures: Vec<(Symbol, Expr)>,
}Expand description
Embedded graph-level test case.
Fields§
§name: SymbolTest case name.
input: ExprInput expression for the graph.
expect: ExprExpected output expression or shape expression.
fixtures: Vec<(Symbol, Expr)>Fixture values available while running the test.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphTest
impl RefUnwindSafe for GraphTest
impl Send for GraphTest
impl Sync for GraphTest
impl Unpin for GraphTest
impl UnsafeUnpin for GraphTest
impl UnwindSafe for GraphTest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more