|
|
@@ -113,7 +113,6 @@ mod tests {
|
|
|
use super::*;
|
|
|
|
|
|
#[test]
|
|
|
- #[allow(clippy::float_cmp)]
|
|
|
fn test_inflation_basic() {
|
|
|
let inflation = Inflation::default();
|
|
|
|
|
|
@@ -133,7 +132,6 @@ mod tests {
|
|
|
}
|
|
|
|
|
|
#[test]
|
|
|
- #[allow(clippy::float_cmp)]
|
|
|
fn test_inflation_fixed() {
|
|
|
let inflation = Inflation::new_fixed(0.001);
|
|
|
for year in &[0.1, 0.5, 1.0, DEFAULT_FOUNDATION_TERM, 100.0] {
|