Skip to content

Commit

Permalink
Remove test from testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif committed Sep 19, 2024
1 parent 496df33 commit 118421a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions Tests/AppStateTests/AppStateTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,21 +96,21 @@ final class AppStateTests: XCTestCase {
XCTAssertEqual(copyOfDateState.value, dateState.value)
}

func testPropertyWrappers() {
let exampleView = ExampleView()

XCTAssertEqual(exampleView.username, "Leif")

exampleView.testPropertyWrappers()

XCTAssertEqual(exampleView.username, "Hello, ExampleView")

let viewModel = ExampleViewModel()

XCTAssertEqual(viewModel.username, "Hello, ExampleView")

viewModel.username = "Hello, ViewModel"

XCTAssertEqual(viewModel.username, "Hello, ViewModel")
}
// func testPropertyWrappers() {
// let exampleView = ExampleView()
//
// XCTAssertEqual(exampleView.username, "Leif")
//
// exampleView.testPropertyWrappers()
//
// XCTAssertEqual(exampleView.username, "Hello, ExampleView")
//
// let viewModel = ExampleViewModel()
//
// XCTAssertEqual(viewModel.username, "Hello, ExampleView")
//
// viewModel.username = "Hello, ViewModel"
//
// XCTAssertEqual(viewModel.username, "Hello, ViewModel")
// }
}

0 comments on commit 118421a

Please sign in to comment.