File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Sprint-3/1-implement-and-rewrite-tests/implement Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ assertEquals(fiveofHearts, 5);
5555// When the function is called with such a card,
5656// Then it should return the value 10, as these cards are worth 10 points each in blackjack.
5757
58- const kingofDiamonds = getCardValue ( "K♦ " ) ;
58+ const kingofDiamonds = getCardValue ( "K" ) ;
5959assertEquals ( kingofDiamonds , 10 ) ;
60- const queenofClubs = getCardValue ( "Q♣ " ) ;
60+ const queenofClubs = getCardValue ( "Q" ) ;
6161assertEquals ( queenofClubs , 10 ) ;
62- const jackofHearts = getCardValue ( "J♥ " ) ;
62+ const jackofHearts = getCardValue ( "J" ) ;
6363assertEquals ( jackofHearts , 10 ) ;
64- const tenofSpades = getCardValue ( "10♠ " ) ;
64+ const tenofSpades = getCardValue ( "10" ) ;
6565assertEquals ( tenofSpades , 10 ) ;
6666// Handle Ace (A):
6767// Given a card with a rank of "A",
You can’t perform that action at this time.
0 commit comments