Skip to content

Commit

Permalink
Reformat new files
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Nov 7, 2023
1 parent aa882c3 commit 41ef34a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Tests for java.util.OptionalDouble Java 11 API emulation.
*/
public class OptionalDoubleTest extends EmulTestBase {
public void testIsEmpty() {
assertTrue(OptionalDouble.empty().isEmpty());
assertFalse(OptionalDouble.of(78.9).isEmpty());
}
public void testIsEmpty() {
assertTrue(OptionalDouble.empty().isEmpty());
assertFalse(OptionalDouble.of(78.9).isEmpty());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Tests for java.util.OptionalInt Java 11 API emulation.
*/
public class OptionalIntTest extends EmulTestBase {
public void testIsEmpty() {
assertTrue(OptionalInt.empty().isEmpty());
assertFalse(OptionalInt.of(456).isEmpty());
}
public void testIsEmpty() {
assertTrue(OptionalInt.empty().isEmpty());
assertFalse(OptionalInt.of(456).isEmpty());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Tests for java.util.OptionalLong Java 11 API emulation.
*/
public class OptionalLongTest extends EmulTestBase {
public void testIsEmpty() {
assertTrue(OptionalLong.empty().isEmpty());
assertFalse(OptionalLong.of(123L).isEmpty());
}
public void testIsEmpty() {
assertTrue(OptionalLong.empty().isEmpty());
assertFalse(OptionalLong.of(123L).isEmpty());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Tests for java.util.Optional Java 11 API emulation.
*/
public class OptionalTest extends EmulTestBase {
public void testIsEmpty() {
assertTrue(Optional.empty().isEmpty());
assertFalse(Optional.of(this).isEmpty());
}
public void testIsEmpty() {
assertTrue(Optional.empty().isEmpty());
assertFalse(Optional.of(this).isEmpty());
}
}

0 comments on commit 41ef34a

Please sign in to comment.