Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon committed Nov 26, 2020
1 parent 917964e commit 7eae945
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Tests/ConfettiSwiftUITests/ConfettiSwiftUITests.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import XCTest
@testable import ConfettiSwiftUI

import SwiftUI

final class ConfettiSwiftUITests: XCTestCase {
@State var counter = 0

func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct
// results.
// XCTAssertEqual(ConfettiSwiftUI(text: "Hello World").text, "Hello, World!")
ConfettiSwiftUI.ConfettiCannon(counter:$counter)
Button("Animation"){
self.counter += 1
}
}

static var allTests = [
Expand Down

0 comments on commit 7eae945

Please sign in to comment.