mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpimath] Use UtilityClassTest for more utility classes (#5384)
This commit is contained in:
@@ -7,7 +7,9 @@ package edu.wpi.first.math;
|
||||
import org.ejml.simple.SimpleMatrix;
|
||||
|
||||
public final class DARE {
|
||||
private DARE() {}
|
||||
private DARE() {
|
||||
throw new UnsupportedOperationException("This is a utility class!");
|
||||
}
|
||||
|
||||
/**
|
||||
* Solves the discrete algebraic Riccati equation.
|
||||
|
||||
@@ -15,7 +15,7 @@ public final class StateSpaceUtil {
|
||||
private static Random rand = new Random();
|
||||
|
||||
private StateSpaceUtil() {
|
||||
// Utility class
|
||||
throw new UnsupportedOperationException("This is a utility class!");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user