()
| 231 | |
| 232 | #[test] |
| 233 | fn test_validate_bdf_valid() { |
| 234 | assert!(validate_bdf("0000:2d:00.0").is_ok()); |
| 235 | assert!(validate_bdf("0000:00:00.0").is_ok()); |
| 236 | assert!(validate_bdf("abcd:ef:01.a").is_ok()); |
| 237 | assert!(validate_bdf("ABCD:EF:01.A").is_ok()); |
| 238 | } |
| 239 | |
| 240 | #[test] |
| 241 | fn test_validate_bdf_invalid() { |
nothing calls this directly
no outgoing calls
no test coverage detected