pub fn compare_with_transcript<Tally:Clone+Zero+PartialEq+Sub<Output=Tally>+Display+FromStr,F:Fn(Tally)->f64>(&self,transcript:&Transcript<Tally>,decode:F) {
        let ec_decision = self.compare_with_transcript_checking_for_ec_decisions(transcript,decode,true);
        if let Some((favoured,unfavoured)) = ec_decision {
            panic!("An EC decision was not made the way we expected: {} was favoured over {}",favoured,unfavoured);
        }
    }
/// Compare the results from the official transcript to our transcript.
/// panic if there are differences.
Compare the results from the official transcript to our transcript.
panic if there are differences.
Compare the results from the official transcript to our transcript . panic if there are differences .
pub fn compare_with_transcript<Tally:Clone+Zero+PartialEq+Sub<Output=Tally>+Display+FromStr,F:Fn(Tally)->f64>(&self,transcript:&Transcript<Tally>,decode:F) {
        let ec_decision = self.compare_with_transcript_checking_for_ec_decisions(transcript,decode,true);
        if let Some((favoured,unfavoured)) = ec_decision {
            panic!("An EC decision was not made the way we expected: {} was favoured over {}",favoured,unfavoured);
        }
    }
pub fn compare_with_transcript < Tally : Clone + Zero + PartialEq + Sub < Output = Tally > + Display + FromStr , F : Fn ( Tally ) -> f64 > ( & self , transcript : & Transcript < Tally > , decode : F ) { let ec_decision = self . compare_with_transcript_checking_for_ec_decisions ( transcript , decode , true ) ; if let Some ( ( favoured , unfavoured ) ) = ec_decision { panic ! ( " " favoured unfavoured ) ; } }
Compare the results from the official transcript to our transcript.
Compare the results from the official transcript to our transcript .
&self
transcript
&Transcript<Tally>
decode
F
&self
transcript
&Transcript<Tally>
decode
F