()
| 44 | |
| 45 | #[test] |
| 46 | fn t_char_at() { |
| 47 | assert_eq!(b'a' as i32, byte_at_checked("abc", 0)); |
| 48 | assert_eq!(b'b' as i32, byte_at_checked("abc", 1)); |
| 49 | assert_eq!(b'c' as i32, byte_at_checked("abc", 2)); |
| 50 | assert_eq!(-1, byte_at_checked("abc", 3)); |
| 51 | } |
nothing calls this directly
no outgoing calls
no test coverage detected