rustfmt fixes

This commit is contained in:
Lokathor
2019-08-13 23:45:50 -06:00
parent 2df659a64b
commit cd32f2619a
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ mod tests {
#[test]
fn sanity_check() {
assert_eq!(fabs(-1.0), 1.0);
assert_eq!(fabs(2.8), 2.8);
assert_eq!(fabs(-1.0), 1.0);
assert_eq!(fabs(2.8), 2.8);
}
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/fabs
+2 -2
View File
@@ -21,8 +21,8 @@ mod tests {
#[test]
fn sanity_check() {
assert_eq!(fabsf(-1.0), 1.0);
assert_eq!(fabsf(2.8), 2.8);
assert_eq!(fabsf(-1.0), 1.0);
assert_eq!(fabsf(2.8), 2.8);
}
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/fabs
+2 -2
View File
@@ -247,8 +247,8 @@ mod tests {
#[test]
fn sanity_check() {
assert_eq!(sqrt(100.0), 10.0);
assert_eq!(sqrt(4.0), 2.0);
assert_eq!(sqrt(100.0), 10.0);
assert_eq!(sqrt(4.0), 2.0);
}
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/sqrt
+2 -2
View File
@@ -135,8 +135,8 @@ mod tests {
#[test]
fn sanity_check() {
assert_eq!(sqrtf(100.0), 10.0);
assert_eq!(sqrtf(4.0), 2.0);
assert_eq!(sqrtf(100.0), 10.0);
assert_eq!(sqrtf(4.0), 2.0);
}
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/sqrt