Skip to content

Commit

Permalink
Merge pull request #223 from AppDevNext/DoubleTest
Browse files Browse the repository at this point in the history
Double test
  • Loading branch information
hannesa2 authored May 12, 2024
2 parents 59aa3b3 + 3582647 commit cae29e8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ class LargeValueFormatterTest {
fun test() {
val formatter = LargeValueFormatter()

val resultDouble = formatter.getFormattedValue(5.0.toFloat(), null)
Assert.assertEquals("5", resultDouble)

var result = formatter.getFormattedValue(5f, null)
Assert.assertEquals("5", result)

Expand Down

0 comments on commit cae29e8

Please sign in to comment.