()
| 407 | |
| 408 | #[test] |
| 409 | fn test_record_file() { |
| 410 | let mut outcome = OutputOutcome::new(); |
| 411 | outcome.record_file("main.rs", 100); |
| 412 | |
| 413 | assert_eq!(outcome.files_written(), 1); |
| 414 | assert_eq!(outcome.bytes_written, 100); |
| 415 | assert!(!outcome.is_empty()); |
| 416 | } |
| 417 | |
| 418 | #[test] |
| 419 | fn test_record_multiple_files() { |
nothing calls this directly
no test coverage detected