(&mut self)
| 192 | /// Takes the captured output for separate analysis. |
| 193 | #[must_use] |
| 194 | pub fn take_captured_out(&mut self) -> Vec<CapturedOut> { |
| 195 | let mut copy = Vec::with_capacity(self.captured_out.len()); |
| 196 | copy.append(&mut self.captured_out); |
| 197 | copy |
| 198 | } |
| 199 | |
| 200 | /// Sets the size of the mock text console. |
| 201 | pub fn set_size_chars(&mut self, size: CharsXY) { |
no test coverage detected