()
| 1380 | |
| 1381 | #[test] |
| 1382 | fn test_mutable_shrink_to_fit() { |
| 1383 | let mut buffer = MutableBuffer::new(128); |
| 1384 | assert_eq!(buffer.capacity(), 128); |
| 1385 | buffer.push(1); |
| 1386 | buffer.push(2); |
| 1387 | |
| 1388 | buffer.shrink_to_fit(); |
| 1389 | assert!(buffer.capacity() >= 64 && buffer.capacity() < 128); |
| 1390 | } |
| 1391 | |
| 1392 | #[test] |
| 1393 | fn test_mutable_set_null_bits() { |
nothing calls this directly
no test coverage detected