()
| 515 | |
| 516 | #[test] |
| 517 | fn encode_u32() { |
| 518 | let test_number: u32 = 0xabcd1234; |
| 519 | |
| 520 | let mut encoded = String::new(); |
| 521 | test_number.encode_canvas(&mut encoded); |
| 522 | |
| 523 | assert!(encoded == "0IRzrC".to_string()); |
| 524 | } |
| 525 | |
| 526 | #[test] |
| 527 | fn encode_f32() { |
nothing calls this directly
no test coverage detected