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) } }