Always statically import JUnit Assertions

This commit is contained in:
Gold856
2025-04-07 08:01:35 -04:00
committed by Matt Morley
parent 3ed8d3a4f3
commit 0dfca8c04f
18 changed files with 115 additions and 107 deletions

View File

@@ -24,6 +24,7 @@
package org.photonvision;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -50,7 +51,6 @@ import java.util.ArrayList;
import java.util.List;
import java.util.stream.Stream;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -111,7 +111,7 @@ class VisionSystemSimTest {
@Test
public void testEmpty() {
Assertions.assertDoesNotThrow(
assertDoesNotThrow(
() -> {
var sysUnderTest = new VisionSystemSim("Test");
sysUnderTest.addVisionTargets(