Skip to content

Commit

Permalink
Add test case for infinity loop
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoss committed Apr 1, 2024
1 parent ca97b40 commit afc6bea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decimal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2822,6 +2822,7 @@ func TestDecimal_Ln(t *testing.T) {
{"839101.0351094726488848490572028502", 50, "13.64008640145229044389152437468283605382056561604272"},
{"5023583755703750094849.03519358513093500275017501750602739169823", 25, "49.9684305274348922267409953"},
{"5023583755703750094849.03519358513093500275017501750602739169823", -1, "50.0"},
{"66.12", 18, "4.191471272952823429"},
} {
d, _ := NewFromString(testCase.Dec)
expected, _ := NewFromString(testCase.Expected)
Expand Down

0 comments on commit afc6bea

Please sign in to comment.