Skip to content

Commit

Permalink
Modify Dice Throw Test Function Name
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvenkatasai authored Jan 17, 2025
1 parent 2fe179a commit 9f76504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamic/dicethrow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func getDiceThrowTestCases() []testCaseDiceThrow {
}

// TestDiceThrow tests the DiceThrow function with basic test cases
func TestDiceThrow_BasicCases(t *testing.T) {
func TestDiceThrow(t *testing.T) {
t.Run("Basic test cases", func(t *testing.T) {
for _, tc := range getDiceThrowTestCases() {
actual := dynamic.DiceThrow(tc.numDice, tc.numFaces, tc.targetSum)
Expand Down

0 comments on commit 9f76504

Please sign in to comment.