| 1 | use ronrust-analyzer cargo ron 0.12.0 crate/::{derust-analyzer cargo ron 0.12.0 de/::*, serrust-analyzer cargo ron 0.12.0 ser/::*}; |
| 2 | |
| 3 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 4 | fn test_i32_minrust-analyzer cargo ron 0.12.0 test_i32_min().() { |
| 5 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!( |
| 6 | stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i32rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i32/::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i32/MIN., |
| 7 | from_strrust-analyzer cargo ron 0.12.0 de/from_str().(&to_stringrust-analyzer cargo ron 0.12.0 ser/to_string().(&stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i32rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i32/::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i32/MIN.).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().() |
| 8 | ); |
| 9 | } |
| 10 | |
| 11 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 12 | fn test_i32_maxrust-analyzer cargo ron 0.12.0 test_i32_max().() { |
| 13 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!( |
| 14 | stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i32rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i32/::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i32/MAX., |
| 15 | from_strrust-analyzer cargo ron 0.12.0 de/from_str().(&to_stringrust-analyzer cargo ron 0.12.0 ser/to_string().(&stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i32rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i32/::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i32/MAX.).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().() |
| 16 | ); |
| 17 | } |
| 18 | |
| 19 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 20 | fn test_i64_minrust-analyzer cargo ron 0.12.0 test_i64_min().() { |
| 21 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!( |
| 22 | stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i64rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i64/::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i64/MIN., |
| 23 | from_strrust-analyzer cargo ron 0.12.0 de/from_str().(&to_stringrust-analyzer cargo ron 0.12.0 ser/to_string().(&stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i64rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i64/::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i64/MIN.).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().() |
| 24 | ); |
| 25 | } |
| 26 | |
| 27 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 28 | fn test_i64_maxrust-analyzer cargo ron 0.12.0 test_i64_max().() { |
| 29 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!( |
| 30 | stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i64rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i64/::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i64/MAX., |
| 31 | from_strrust-analyzer cargo ron 0.12.0 de/from_str().(&to_stringrust-analyzer cargo ron 0.12.0 ser/to_string().(&stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i64rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i64/::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i64/MAX.).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().() |
| 32 | ); |
| 33 | } |
| 34 | |
| 35 | #[cfg(feature = "integer128")] |
| 36 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 37 | fn test_i128_minrust-analyzer cargo ron 0.12.0 test_i128_min().() { |
| 38 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!( |
| 39 | stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i128rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i128/::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i128/MIN., |
| 40 | from_strrust-analyzer cargo ron 0.12.0 de/from_str().(&to_stringrust-analyzer cargo ron 0.12.0 ser/to_string().(&stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i128rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i128/::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i128/MIN.).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().() |
| 41 | ); |
| 42 | } |
| 43 | |
| 44 | #[cfg(feature = "integer128")] |
| 45 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 46 | fn test_i128_maxrust-analyzer cargo ron 0.12.0 test_i128_max().() { |
| 47 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!( |
| 48 | stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i128rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i128/::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i128/MAX., |
| 49 | from_strrust-analyzer cargo ron 0.12.0 de/from_str().(&to_stringrust-analyzer cargo ron 0.12.0 ser/to_string().(&stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::i128rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i128/::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/i128/MAX.).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().() |
| 50 | ); |
| 51 | } |
| 52 | |
| 53 | #[cfg(feature = "integer128")] |
| 54 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 55 | fn test_u128_minrust-analyzer cargo ron 0.12.0 test_u128_min().() { |
| 56 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!( |
| 57 | stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::u128rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/u128/::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/u128/MIN., |
| 58 | from_strrust-analyzer cargo ron 0.12.0 de/from_str().(&to_stringrust-analyzer cargo ron 0.12.0 ser/to_string().(&stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::u128rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/u128/::MINrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/u128/MIN.).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().() |
| 59 | ); |
| 60 | } |
| 61 | |
| 62 | #[cfg(feature = "integer128")] |
| 63 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 64 | fn test_u128_maxrust-analyzer cargo ron 0.12.0 test_u128_max().() { |
| 65 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!( |
| 66 | stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::u128rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/u128/::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/u128/MAX., |
| 67 | from_strrust-analyzer cargo ron 0.12.0 de/from_str().(&to_stringrust-analyzer cargo ron 0.12.0 ser/to_string().(&stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::u128rust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/u128/::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core legacy_int_modules/u128/MAX.).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().() |
| 68 | ); |
| 69 | } |