()
| 48 | } |
| 49 | |
| 50 | fn main() { |
| 51 | // Here, we will output the date of the Paschal full moon |
| 52 | // (using Servois notation), and Easter for 2020-2030 |
| 53 | |
| 54 | let years = 2020..=2030; |
| 55 | |
| 56 | println!( |
| 57 | "The following are the dates of the Paschal full moon (using \ |
| 58 | Servois notation) and the date of Easter for 2020-2030 AD:" |
| 59 | ); |
| 60 | println!("Year\tServois number\tEaster"); |
| 61 | years.for_each(|year| { |
| 62 | println!( |
| 63 | "{}\t{:<14}\t{}", |
| 64 | year, |
| 65 | computus(year, true), |
| 66 | computus(year, false), |
| 67 | ) |
| 68 | }); |
| 69 | } |
nothing calls this directly
no outgoing calls
no test coverage detected