()
| 54 | |
| 55 | #[test] |
| 56 | fn test_simple_empty_string_zero() { |
| 57 | Python::attach(|py| { |
| 58 | let original = Simple { |
| 59 | name: String::new(), |
| 60 | value: 0, |
| 61 | }; |
| 62 | let py_obj = pythonize(py, &original).unwrap(); |
| 63 | let result: Simple = depythonize(&py_obj).unwrap(); |
| 64 | assert_eq!(result, original); |
| 65 | }); |
| 66 | } |
| 67 | |
| 68 | #[test] |
| 69 | fn test_simple_boundary_i64_min() { |
nothing calls this directly
no test coverage detected