()
| 621 | |
| 622 | #[test] |
| 623 | fn test_object() { |
| 624 | let mut obj = test_utils::custom_object(); |
| 625 | assert!(obj.class() == test_utils::custom_class()); |
| 626 | let result: u32 = unsafe { |
| 627 | obj.set_ivar("_foo", 4u32); |
| 628 | *obj.get_ivar("_foo") |
| 629 | }; |
| 630 | assert!(result == 4); |
| 631 | } |
| 632 | } |
nothing calls this directly
no test coverage detected