diff --git a/src/wpimath/Interpolation/IInterpolatable.cs b/src/wpimath/Interpolation/IInterpolatable.cs index 7b38a69c..cbbc6e28 100644 --- a/src/wpimath/Interpolation/IInterpolatable.cs +++ b/src/wpimath/Interpolation/IInterpolatable.cs @@ -1,5 +1,6 @@ namespace WPIMath.Interpolation; -public interface IInterpolatable { +public interface IInterpolatable +{ T Interpolate(T endValue, double t); } diff --git a/test/wpimath.test/Geometry/Rotation2dTest.cs b/test/wpimath.test/Geometry/Rotation2dTest.cs index ecc7700a..2c9b47ca 100644 --- a/test/wpimath.test/Geometry/Rotation2dTest.cs +++ b/test/wpimath.test/Geometry/Rotation2dTest.cs @@ -115,7 +115,8 @@ public void TestInequality() } [Fact] - public void TestInterpolate() { + public void TestInterpolate() + { // 50 + (70 - 50) * 0.5 = 60 Rotation2d rot1 = 50.Degrees(); Rotation2d rot2 = 70.Degrees();