()
| 301 | |
| 302 | #[test] |
| 303 | fn test_parse_number() { |
| 304 | assert_eq!(parse_number_autoradix("2_3".into()), Some(23)); |
| 305 | assert_eq!(parse_number_autoradix("0xf".into()), Some(15)); |
| 306 | assert_eq!(parse_number_autoradix("0b11".into()), Some(3)); |
| 307 | assert_eq!(parse_number_autoradix("0o1_1".into()), Some(0o1_1)); |
| 308 | } |
nothing calls this directly
no outgoing calls
no test coverage detected