()
| 424 | |
| 425 | #[test] |
| 426 | fn test_text_value_handling() { |
| 427 | let handler = ValueHandler::new(); |
| 428 | let text_value = SqliteValue::Text("hello world".to_string()); |
| 429 | |
| 430 | let result = handler.convert_value(&text_value, 25, false).unwrap(); // TEXT |
| 431 | |
| 432 | match result { |
| 433 | Some(MappedValue::Memory(data)) => { |
| 434 | assert_eq!(data, b"hello world"); |
| 435 | } |
| 436 | _ => panic!("Expected memory storage for text"), |
| 437 | } |
| 438 | } |
| 439 | |
| 440 | #[test] |
| 441 | fn test_integer_value_handling() { |
nothing calls this directly
no test coverage detected