()
| 297 | |
| 298 | #[test] |
| 299 | fn test_token_estimate() { |
| 300 | assert_eq!(token::estimate(""), 0); |
| 301 | assert_eq!(token::estimate("hello"), 1); |
| 302 | assert_eq!(token::estimate("hello world"), 2); |
| 303 | assert_eq!(token::estimate("a".repeat(100).as_str()), 25); |
| 304 | } |
| 305 | |
| 306 | #[test] |
| 307 | fn test_format_duration() { |
nothing calls this directly
no outgoing calls
no test coverage detected