#[cfg(feature = "bigdecimal-impl")] #[test] fn impl_primitive_bigdecimal() { assert_eq!( ::name(), ::name() ); assert_eq!( ::inline(), ::inline() ) } #[cfg(feature = "smol_str-impl")] #[test] fn impl_primitive_smolstr() { assert_eq!( ::name(), ::name() ); assert_eq!( ::inline(), ::inline() ) } #[cfg(feature = "uuid-impl")] #[test] fn impl_primitive_uuid() { assert_eq!( ::name(), ::name() ); assert_eq!( ::inline(), ::inline() ) } #[cfg(feature = "url-impl")] #[test] fn impl_primitive_url() { assert_eq!( ::name(), ::name() ); assert_eq!( ::inline(), ::inline() ) } #[cfg(feature = "ordered-float-impl")] #[test] fn impl_primitive_order_float() { assert_eq!( as ts_rs::TS>::name(), ::name() ); assert_eq!( as ts_rs::TS>::inline(), ::inline() ); assert_eq!( as ts_rs::TS>::name(), ::name() ); assert_eq!( as ts_rs::TS>::inline(), ::inline() ) } #[cfg(feature = "bson-uuid-impl")] #[test] fn impl_primitive_bson_uuid() { assert_eq!( ::name(), ::name() ); assert_eq!( ::inline(), ::inline() ); assert_eq!( ::name(), ::name() ); assert_eq!( ::inline(), ::inline() ) } #[cfg(feature = "semver-impl")] #[test] fn impl_primitive_semver() { assert_eq!( ::name(), ::name() ); assert_eq!( ::inline(), ::inline() ) }