// Test-only fixtures: the bundled resources.// The shipping root's tables are the core's (`AppTables.core`);// `RootRecordsGuardTests` keeps fixtures out of `Sources`.importFoundation@testable importCottonUI/// The package's resource bundle: the built one this build found, else the/// one built beside this test bundle (a package that depends on CottonUI by/// path), else the tree's `Resources` directory.enumTestResources {privatefinalclassMarker {}staticfunc bundle() throws -> Bundle {iflet built = CottonUIResources.bundle { return built }iflet beside = CottonUIResources.locate(from: Bundle(for: Marker.self)) { return beside }guardlet tree = Bundle(url: SourceSweep.iosSources.appendingPathComponent("CottonUI/Resources")) else {throwCocoaError(.fileNoSuchFile) }return tree }}