Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

374 B
Raw Blame
import XCTest
@testable import HelloSim

final class CounterTests: XCTestCase {
    func testStartsUntapped() {
        XCTAssertEqual(Counter().label, "Not tapped yet")
    }

    func testTapsAreCounted() {
        var c = Counter()
        c.tap()
        XCTAssertEqual(c.label, "Tapped 1 time")
        c.tap()
        XCTAssertEqual(c.label, "Tapped 2 times")
    }
}