Skip to content

Commit

Permalink
Apply formatting fixes from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Michael Green committed Jan 4, 2022
1 parent 9b6f469 commit fe99aae
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/math/sincos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,21 @@ mod tests {
fn with_pi() {
let (s, c) = sincos(core::f64::consts::PI);
assert!(
(s - 0.0).abs() < TOLERANCE,
"|{} - {}| = {} >= {}",
s,
0.0,
(s - 0.0).abs(),
TOLERANCE
);
(s - 0.0).abs() < TOLERANCE,
"|{} - {}| = {} >= {}",
s,
0.0,
(s - 0.0).abs(),
TOLERANCE
);
assert!(
(c + 1.0).abs() < TOLERANCE,
"|{} + {}| = {} >= {}",
c,
1.0,
(s + 1.0).abs(),
TOLERANCE
);
(c + 1.0).abs() < TOLERANCE,
"|{} + {}| = {} >= {}",
c,
1.0,
(s + 1.0).abs(),
TOLERANCE
);
}

#[test]
Expand Down

0 comments on commit fe99aae

Please sign in to comment.