Lines Matching refs:format_integer_with_underscore_sep

5     assert_eq!(format_integer_with_underscore_sep("12345678"), "12_345_678");  in int_format_decimal()
6 assert_eq!(format_integer_with_underscore_sep("123"), "123"); in int_format_decimal()
7 assert_eq!(format_integer_with_underscore_sep("123459"), "123_459"); in int_format_decimal()
8 assert_eq!(format_integer_with_underscore_sep("-12345678"), "-12_345_678"); in int_format_decimal()
9 assert_eq!(format_integer_with_underscore_sep("-123"), "-123"); in int_format_decimal()
10 assert_eq!(format_integer_with_underscore_sep("-123459"), "-123_459"); in int_format_decimal()
15 assert_eq!(format_integer_with_underscore_sep("0xab3"), "0xab3"); in int_format_hex()
16 assert_eq!(format_integer_with_underscore_sep("0xa2345b"), "0xa2_345b"); in int_format_hex()
17 assert_eq!(format_integer_with_underscore_sep("0xa2e6345b"), "0xa2e6_345b"); in int_format_hex()
18 assert_eq!(format_integer_with_underscore_sep("-0xab3"), "-0xab3"); in int_format_hex()
19 assert_eq!(format_integer_with_underscore_sep("-0xa2345b"), "-0xa2_345b"); in int_format_hex()
20 assert_eq!(format_integer_with_underscore_sep("-0xa2e6345b"), "-0xa2e6_345b"); in int_format_hex()
25 assert_eq!(format_integer_with_underscore_sep("0o12345671"), "0o12_345_671"); in int_format_binary()
26 assert_eq!(format_integer_with_underscore_sep("0o123"), "0o123"); in int_format_binary()
27 assert_eq!(format_integer_with_underscore_sep("0o123451"), "0o123451"); in int_format_binary()
28 assert_eq!(format_integer_with_underscore_sep("-0o12345671"), "-0o12_345_671"); in int_format_binary()
29 assert_eq!(format_integer_with_underscore_sep("-0o123"), "-0o123"); in int_format_binary()
30 assert_eq!(format_integer_with_underscore_sep("-0o123451"), "-0o123451"); in int_format_binary()
35 assert_eq!(format_integer_with_underscore_sep("0b101"), "0b101"); in int_format_octal()
36 assert_eq!(format_integer_with_underscore_sep("0b101101011"), "0b1_0110_1011"); in int_format_octal()
37 assert_eq!(format_integer_with_underscore_sep("0b01101011"), "0b0110_1011"); in int_format_octal()
38 assert_eq!(format_integer_with_underscore_sep("-0b101"), "-0b101"); in int_format_octal()
39 assert_eq!(format_integer_with_underscore_sep("-0b101101011"), "-0b1_0110_1011"); in int_format_octal()
40 assert_eq!(format_integer_with_underscore_sep("-0b01101011"), "-0b0110_1011"); in int_format_octal()