File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ mod tests {
23
23
24
24
#[ test]
25
25
fn sanity_check ( ) {
26
- assert_eq ! ( fabs( -1.0 ) , 1.0 ) ;
27
- assert_eq ! ( fabs( 2.8 ) , 2.8 ) ;
26
+ assert_eq ! ( fabs( -1.0 ) , 1.0 ) ;
27
+ assert_eq ! ( fabs( 2.8 ) , 2.8 ) ;
28
28
}
29
29
30
30
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/fabs
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ mod tests {
21
21
22
22
#[ test]
23
23
fn sanity_check ( ) {
24
- assert_eq ! ( fabsf( -1.0 ) , 1.0 ) ;
25
- assert_eq ! ( fabsf( 2.8 ) , 2.8 ) ;
24
+ assert_eq ! ( fabsf( -1.0 ) , 1.0 ) ;
25
+ assert_eq ! ( fabsf( 2.8 ) , 2.8 ) ;
26
26
}
27
27
28
28
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/fabs
Original file line number Diff line number Diff line change @@ -247,8 +247,8 @@ mod tests {
247
247
248
248
#[ test]
249
249
fn sanity_check ( ) {
250
- assert_eq ! ( sqrt( 100.0 ) , 10.0 ) ;
251
- assert_eq ! ( sqrt( 4.0 ) , 2.0 ) ;
250
+ assert_eq ! ( sqrt( 100.0 ) , 10.0 ) ;
251
+ assert_eq ! ( sqrt( 4.0 ) , 2.0 ) ;
252
252
}
253
253
254
254
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/sqrt
Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ mod tests {
135
135
136
136
#[ test]
137
137
fn sanity_check ( ) {
138
- assert_eq ! ( sqrtf( 100.0 ) , 10.0 ) ;
139
- assert_eq ! ( sqrtf( 4.0 ) , 2.0 ) ;
138
+ assert_eq ! ( sqrtf( 100.0 ) , 10.0 ) ;
139
+ assert_eq ! ( sqrtf( 4.0 ) , 2.0 ) ;
140
140
}
141
141
142
142
/// The spec: https://en.cppreference.com/w/cpp/numeric/math/sqrt
You can’t perform that action at this time.
0 commit comments