/// Tests with the given test.
///
/// Panics on failure.
Tests with the given test.
Panics on failure.
Tests with the given test . Panics on failure .
pub fn test(&self, test: Test<T>) {
        match grammar::parse(self.rule, &test.text).and_then(self.func) { 
            Ok(res)  => assert_eq!(res, test.result),
            Err(err) => panic!("ERROR: {}", err),
        };
    }
pub fn test ( & self , test : Test < T > ) { match grammar :: parse ( self . rule , & test . text ) . and_then ( self . func ) { Ok ( res ) => assert_eq ! ( res test result ) , Err ( err ) => panic ! ( " " err ) , } ; }
Tests with the given test.
Tests with the given test .
&self
test
Test<T>