Cotton code
23 lines · 766 B · SwiftRaw
import CottonValuesimport XCTest@testable import CottonUI/// A tile drawn as its cover (a photo's print) says what it is aloud: the/// print has no words of its own, so VoiceOver and the walkers read a bare id/// (architect 2045 sev 3: Photos tiles carry a spoken label).final class CoverSpokenNameTests: XCTestCase {    private let photo = TableDefinition(        id: "snap", name: "Snap", plural: "Snaps",        columns: [            ColumnDefinition(key: "caption", type: .text),            ColumnDefinition(key: "taken_at", type: .date),        ],        title: "caption",        slip: SlipLayout(title: "caption"),        tile: TileLayout(face: .slipList),        page: [PageSection(heading: nil, columns: ["caption", "taken_at"])]    )}