Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aragozin committed Oct 25, 2020
1 parent e8b2ab3 commit 08269fc
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,17 @@ public void testDecimalFormaterToStringLongParam() {

@Test
public void testDecimalFormaterToStringNumericParam() {
Assert.assertEquals("\t4.000000000", new DecimalFormater(9).toString(4));
Assert.assertEquals("\t4", new DecimalFormater(9).toString(4));
}

@Test
public void testDecimalFormaterToStringNumericParam2() {
Assert.assertEquals("\t4.0000001", new DecimalFormater(9).toString(4.0000001));
}

@Test
public void testDecimalFormaterToStringNumericParam3() {
Assert.assertEquals("\t4", new DecimalFormater(2).toString(4.0000001));
}

@Test
Expand Down

0 comments on commit 08269fc

Please sign in to comment.