()
| 424 | |
| 425 | #[test] |
| 426 | fn test_null_pointer_handling() { |
| 427 | let mut error = GraphLiteErrorCode::Success; |
| 428 | |
| 429 | // Test null path |
| 430 | let db = unsafe { graphlite_open(ptr::null(), &mut error) }; |
| 431 | assert!(db.is_null()); |
| 432 | assert_eq!(error, GraphLiteErrorCode::NullPointer); |
| 433 | } |
| 434 | |
| 435 | #[test] |
| 436 | fn test_open_close() { |
nothing calls this directly
no test coverage detected