conspire 0.7.2

The Rust interface to conspire.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::super::{AssertEq, eq_impl, eq_within_tols_impl};
use crate::math::TensorRank0;
use crate::math::assert::{Assert, AssertionError};

impl AssertEq<TensorRank0> for TensorRank0 {
    fn eq(a: Self, b: TensorRank0) -> Result<(), AssertionError> {
        eq_impl(&a, &b)
    }
    fn eq_within_tols(tols: &Assert, a: Self, b: TensorRank0) -> Result<(), AssertionError> {
        eq_within_tols_impl(tols, &a, &b)
    }
}