This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import ComposableArchitecture | |
struct AppReducer: Reducer { | |
struct State: Equatable { | |
@PresentationState var alert: AlertState<Action.Alert>? | |
} | |
enum Action { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XCTest | |
@testable import alert_tca | |
final class alert_tcaTests: XCTestCase { | |
func testExample() throws { | |
let value1 = Ten( | |
a: "qndfjkasdf njksdfnjsakd", | |
b: "qndfjkasdf njksdfnjsakd", | |
c: "qndfjkasdf njksdfnjsakd", |