pub fn check_equal<T: PartialEq + Debug + Display>( lhs: T, rhs: T, lhs_param: &str, rhs_param: &str, ) -> Result<()>
Checks the values are equal.