Cotton code
10 lines · 359 B · SwiftRaw
import XCTest@testable import CottonUIfinal class CameraAvailabilityTests: XCTestCase {    func testTheInputOffersACameraOnlyWhenThisDeviceHasOne() {        XCTAssertEqual(BoxAttach.choices.contains(.camera), Camera.isAvailable)        XCTAssertTrue(BoxAttach.choices.contains(.library))        XCTAssertTrue(BoxAttach.choices.contains(.file))    }}