()
| 2015 | |
| 2016 | #[test] |
| 2017 | fn integer_from_float64() { |
| 2018 | assert_eq!(i32::try_from_value(Value::Float64(Some(10.0))).unwrap(), 10); |
| 2019 | assert!(i32::try_from_value(Value::Float64(Some(10.5))).is_err()); |
| 2020 | } |
| 2021 | |
| 2022 | #[test] |
| 2023 | fn integer_cross_type_conversions() { |
nothing calls this directly
no outgoing calls
no test coverage detected