arrange first bunch of tests

This commit is contained in:
NikVolf
2017-06-05 15:30:03 +03:00
parent e1d9dd2b79
commit b094228a22
6 changed files with 14 additions and 9 deletions

View File

@ -538,7 +538,10 @@ fn f64_from_bits(mut v: u64) -> f64 {
macro_rules! impl_integer_arithmetic_ops {
($type: ident) => {
impl ArithmeticOps<$type> for $type {
fn add(self, other: $type) -> $type { self.wrapping_add(other) }
fn add(self, other: $type) -> $type {
self.wrapping_add(other)
}
fn sub(self, other: $type) -> $type { self.wrapping_sub(other) }
fn mul(self, other: $type) -> $type { self.wrapping_mul(other) }
fn div(self, other: $type) -> Result<$type, Error> {