()
| 67 | |
| 68 | #[test] |
| 69 | fn test_simple_boundary_i64_min() { |
| 70 | Python::attach(|py| { |
| 71 | let original = Simple { |
| 72 | name: "hello world".into(), |
| 73 | value: i64::MIN, |
| 74 | }; |
| 75 | let py_obj = pythonize(py, &original).unwrap(); |
| 76 | let result: Simple = depythonize(&py_obj).unwrap(); |
| 77 | assert_eq!(result, original); |
| 78 | }); |
| 79 | } |
| 80 | |
| 81 | // --- #[serde(rename)] --- |
| 82 |
nothing calls this directly
no test coverage detected