Skip to content

Commit

Permalink
Remove unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoss committed Apr 2, 2024
1 parent 443d2a8 commit 931e081
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions decimal_test.go
Expand Up @@ -3673,15 +3673,3 @@ func ExampleNewFromFloat() {
//0.123123123123123
//-10000000000000
}

func TestXDD(t *testing.T) {
d1 := NewFromFloat(4.0)
d2 := NewFromFloat(4.0)
res1 := d1.Pow(d2)
t.Log(res1.String()) // output: "16.0"

d3 := NewFromFloat(5.0)
d4 := NewFromFloat(5.73)
res2 := d3.Pow(d4)
t.Log(res2.String()) // output: "10118.080371595015625"
}

0 comments on commit 931e081

Please sign in to comment.