Skip to content

Commit

Permalink
Fix MagicianInTraining testRemoveBottomCardFromEmptyStack
Browse files Browse the repository at this point in the history
Instead of `removeBottomCard` `removeTopCard` was called in the test.
  • Loading branch information
cannero committed Nov 1, 2024
1 parent 03f8479 commit d41c1da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ final class MagicianInTrainingTests: XCTestCase {
func testRemoveBottomCardFromEmptyStack() throws {
try XCTSkipIf(true && !runAll) // change true to false to run this test
let stack = [Int]()
XCTAssertEqual(removeTopCard(stack), stack)
XCTAssertEqual(removeBottomCard(stack), stack)
}

func testCheckSizeTrue() throws {
Expand Down

0 comments on commit d41c1da

Please sign in to comment.