()
| 320 | |
| 321 | #[test] |
| 322 | fn test_custom_class() { |
| 323 | // Registering the custom class is in test_utils |
| 324 | let obj = test_utils::custom_object(); |
| 325 | unsafe { |
| 326 | let _: () = msg_send![obj, setFoo:13u32]; |
| 327 | let result: u32 = msg_send![obj, foo]; |
| 328 | assert!(result == 13); |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | #[test] |
| 333 | fn test_class_method() { |
nothing calls this directly
no test coverage detected