Implemented phase 0 for the POC prototype in the Website service.

This commit is contained in:
javier committed 2026-09-21 10:22:55 +02:00
1 parent 916df7e2f0
commit 717df5208c
31 files changed
+2351 -240

No files matched your search

@@ -0,0 +1,29 @@
import Testing
@testable import WebsiteLibrary
@Suite(
"Format enumeration",
.tags(.enumeration)
)
struct FormatTests {
// MARK: Computed tests
@Test(arguments: zip(
Format.allCases,
[
"/search?format=single-issues",
"/search?format=manga",
"/search?format=trade-paperbacks",
"/search?format=hardcovers",
]
))
func `path`(
of format: Format,
expects path: String
) {
#expect(format.path == path)
}
}