-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaning up remaining todo's in the code #572
base: aip-61-adex-v5
Are you sure you want to change the base?
Conversation
Signed-off-by: Lachezar Lechev <[email protected]>
Signed-off-by: Lachezar Lechev <[email protected]>
Signed-off-by: Lachezar Lechev <[email protected]>
Signed-off-by: Lachezar Lechev <[email protected]>
f6af18d
to
5702036
Compare
@@ -961,6 +955,69 @@ mod test { | |||
); | |||
} | |||
} | |||
|
|||
#[test] | |||
fn test_unified_num_mod_floor_gcd_lcm_divides_is_multiple_of_div_rem() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm uncertain about these tests. You're actually checking 0.00000008
value in the first test for example, not integers so the math is different for floating numbers.
Another things I realised is that num::Integer
allows these methods and it's not implemented for floating numbers, so maybe we don't need to include Integer
impl for UnitfiedNum
closes #570