mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpimath] Use UtilityClassTest for more utility classes (#5384)
This commit is contained in:
@@ -6,9 +6,14 @@ package edu.wpi.first.math;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
import edu.wpi.first.wpilibj.UtilityClassTest;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class MathUtilTest {
|
||||
class MathUtilTest extends UtilityClassTest<MathUtil> {
|
||||
MathUtilTest() {
|
||||
super(MathUtil.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
void testApplyDeadbandUnityScale() {
|
||||
// < 0
|
||||
|
||||
Reference in New Issue
Block a user