You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2019/05/22 19:23:11 UTC
[commons-numbers] 02/04: NUMBERS-97: test for Fraction parse method
This is an automated email from the ASF dual-hosted git repository.
ericbarnhill pushed a commit to branch fraction-dev
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
commit 97683d53ed0b05241c7da1e92fa820664fd29258
Author: Eric Barnhill <eb...@irhythmtech.com>
AuthorDate: Fri May 17 15:51:59 2019 -0700
NUMBERS-97: test for Fraction parse method
---
.../test/java/org/apache/commons/numbers/fraction/FractionTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/FractionTest.java b/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/FractionTest.java
index a3ea0cb..10c3a20 100644
--- a/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/FractionTest.java
+++ b/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/FractionTest.java
@@ -631,13 +631,13 @@ public class FractionTest {
@Test
public void testParse() {
String[] validExpressions = new String[] {
- "1 / 2", "15 / 16", "-2 / 3", "8 / 7",
+ "1 / 2", "15 / 16", "-2 / 3", "8 / 7"
};
Fraction[] fractions = {
Fraction.of(1, 2),
Fraction.of(15, 16),
Fraction.of(-2, 3),
- Fraction.of(8, 7)
+ Fraction.of(8, 7),
};
int inc = 0;
for (Fraction fraction: fractions) {