more fixes, still not done yet
This commit is contained in:
@@ -290,7 +290,7 @@ fn test_financial_calculations() {
|
||||
let result = steel_decimal_instance.parse_and_execute("(decimal-compound \"1000\" \"0.05\" \"2\")").unwrap();
|
||||
assert_eq!(result.len(), 1);
|
||||
if let SteelVal::StringV(s) = &result[0] {
|
||||
assert_eq!(s.to_string(), "1102.50"); // 1000 * (1.05)^2 = 1102.50
|
||||
assert_eq!(s.to_string(), "1102.5000"); // 1000 * (1.05)^2 = 1102.5000
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user