()
| 1022 | |
| 1023 | #[test] |
| 1024 | fn test_credit_range_single() { |
| 1025 | let credit = Credit::human("alice", None::<String>, test_hash(), test_timestamp()); |
| 1026 | let range = CreditRange::single(42, credit); |
| 1027 | |
| 1028 | assert_eq!(range.start_line, 42); |
| 1029 | assert_eq!(range.end_line, 42); |
| 1030 | assert_eq!(range.line_count(), 1); |
| 1031 | } |
| 1032 | |
| 1033 | #[test] |
| 1034 | fn test_credit_range_contains() { |
nothing calls this directly
no test coverage detected