summaryrefslogtreecommitdiff
path: root/src/test/java/sevenUnitsGUI/RoundingTest.java
diff options
context:
space:
mode:
authorAdrien Hopkins <adrien.p.hopkins@gmail.com>2025-06-15 19:26:12 -0500
committerAdrien Hopkins <adrien.p.hopkins@gmail.com>2025-06-15 19:26:12 -0500
commitda740edd3972fa049c4c8d0e43448c10a6a65dce (patch)
tree4a0d4f9fa861560d273249666c7a2acc12e9f235 /src/test/java/sevenUnitsGUI/RoundingTest.java
parent34f0321a31e728fa66057d0decd9a938d133d596 (diff)
Format & clean up source code
Diffstat (limited to 'src/test/java/sevenUnitsGUI/RoundingTest.java')
-rw-r--r--src/test/java/sevenUnitsGUI/RoundingTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/java/sevenUnitsGUI/RoundingTest.java b/src/test/java/sevenUnitsGUI/RoundingTest.java
index e6453f2..589b8d0 100644
--- a/src/test/java/sevenUnitsGUI/RoundingTest.java
+++ b/src/test/java/sevenUnitsGUI/RoundingTest.java
@@ -137,7 +137,7 @@ class RoundingTest {
/**
* Tests that the rounding methods' equals() methods work.
- *
+ *
* @since 2022-07-17
* @since v0.4.0
*/
@@ -161,7 +161,7 @@ class RoundingTest {
// test that FixedDecimals is never equal to FixedPrecision
// this unlikely argument is the test - the equals should return false!
@SuppressWarnings("unlikely-arg-type")
- final boolean differentRulesEqual = Objects.equals(fixedDecimals(4),
+ final var differentRulesEqual = Objects.equals(fixedDecimals(4),
fixedPrecision(4));
assertFalse(differentRulesEqual, "fixedDecimals(4) == fixedPrecision(4)");
}
@@ -226,7 +226,7 @@ class RoundingTest {
/**
* Tests that {@link StandardDisplayRules#getStandardRule} gets rounding
* rules as intended.
- *
+ *
* @since 2022-07-17
* @since v0.4.0
*/
@@ -244,7 +244,7 @@ class RoundingTest {
/**
* Tests that the rounding methods' equals() methods work.
- *
+ *
* @since 2022-07-17
* @since v0.4.0
*/
@@ -258,7 +258,7 @@ class RoundingTest {
/**
* Tests that the {@code toString()} methods of the three rounding rule
* classes work correctly.
- *
+ *
* @since 2022-07-17
* @since v0.4.0
*/