From 11e46659286c3858ccb441aa4b1ee760dfbff4a5 Mon Sep 17 00:00:00 2001 From: Thad House Date: Mon, 15 Jan 2024 23:15:06 -0800 Subject: [PATCH] Format --- src/wpimath/Interpolation/IInterpolatable.cs | 3 ++- test/wpimath.test/Geometry/Rotation2dTest.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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();