Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_num/tests/macro.rs

363 bytes, 5 runs

created by r1870400018:643, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1use oxedyne_fe2o3_core::prelude::*;
2use oxedyne_fe2o3_num::prelude::*;
3
4#[test]
5fn test_aint_00() -> Outcome<()> {
6 let a = aint!(-42);
7 assert_eq!(a.to_string(), String::from("-42"));
8 Ok(())
9}
10
11//#[test]
12//fn test_aintstr_00() -> Outcome<()> {
13// let a = res!(aintstr!("-42"));
14// assert_eq!(a.to_string(), String::from("-42"));
15// Ok(())
16//}