Versendung: doppelseitiges Sammel PDF und diverse Verbesserungen
This commit is contained in:
1 parent
4b88aca958
commit
feab6135ff
31 files changed
+1302
-96
No files matched your search
@@ -2,6 +2,13 @@ import XCTest
|
||||
@testable import LektorenPlanCore
|
||||
|
||||
final class CoreTests: XCTestCase {
|
||||
func testRoleCombinedTitle() {
|
||||
XCTAssertEqual(Role.combinedTitle([.lector]), "Lektor")
|
||||
XCTAssertEqual(Role.combinedTitle([.helper]), "Kommunionhelfer")
|
||||
XCTAssertEqual(Role.combinedTitle([.helper, .lector]), "Lektor und Kommunionhelfer")
|
||||
XCTAssertEqual(Role.combinedTitle([]), "")
|
||||
}
|
||||
|
||||
func testEasterDates() {
|
||||
XCTAssertEqual(DayMath.key(LiturgicalCalendarEngine.easterSunday(year: 2026)), "2026-04-05")
|
||||
XCTAssertEqual(DayMath.key(LiturgicalCalendarEngine.easterSunday(year: 2027)), "2027-03-28")
|
||||
|
||||
Reference in new issue
Block a user