public void ConversionRoundTrip() { RotationalStiffness newtonmeterperradian = RotationalStiffness.FromNewtonMetersPerRadian(1); AssertEx.EqualTolerance(1, RotationalStiffness.FromCentinewtonMetersPerRadian(newtonmeterperradian.CentinewtonMetersPerRadian).NewtonMetersPerRadian, CentinewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromDecanewtonMetersPerRadian(newtonmeterperradian.DecanewtonMetersPerRadian).NewtonMetersPerRadian, DecanewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromDecinewtonMetersPerRadian(newtonmeterperradian.DecinewtonMetersPerRadian).NewtonMetersPerRadian, DecinewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromExanewtonMetersPerRadian(newtonmeterperradian.ExanewtonMetersPerRadian).NewtonMetersPerRadian, ExanewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromFemtonewtonMetersPerRadian(newtonmeterperradian.FemtonewtonMetersPerRadian).NewtonMetersPerRadian, FemtonewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromGiganewtonMetersPerRadian(newtonmeterperradian.GiganewtonMetersPerRadian).NewtonMetersPerRadian, GiganewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromHectonewtonMetersPerRadian(newtonmeterperradian.HectonewtonMetersPerRadian).NewtonMetersPerRadian, HectonewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromKilonewtonMetersPerRadian(newtonmeterperradian.KilonewtonMetersPerRadian).NewtonMetersPerRadian, KilonewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromMeganewtonMetersPerRadian(newtonmeterperradian.MeganewtonMetersPerRadian).NewtonMetersPerRadian, MeganewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromMicronewtonMetersPerRadian(newtonmeterperradian.MicronewtonMetersPerRadian).NewtonMetersPerRadian, MicronewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromMillinewtonMetersPerRadian(newtonmeterperradian.MillinewtonMetersPerRadian).NewtonMetersPerRadian, MillinewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromNanonewtonMetersPerRadian(newtonmeterperradian.NanonewtonMetersPerRadian).NewtonMetersPerRadian, NanonewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromNewtonMetersPerRadian(newtonmeterperradian.NewtonMetersPerRadian).NewtonMetersPerRadian, NewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromPetanewtonMetersPerRadian(newtonmeterperradian.PetanewtonMetersPerRadian).NewtonMetersPerRadian, PetanewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromPiconewtonMetersPerRadian(newtonmeterperradian.PiconewtonMetersPerRadian).NewtonMetersPerRadian, PiconewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromQutranewtonMetersPerRadian(newtonmeterperradian.QutranewtonMetersPerRadian).NewtonMetersPerRadian, QutranewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromTeranewtonMetersPerRadian(newtonmeterperradian.TeranewtonMetersPerRadian).NewtonMetersPerRadian, TeranewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromVettanewtonMetersPerRadian(newtonmeterperradian.VettanewtonMetersPerRadian).NewtonMetersPerRadian, VettanewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromYottanewtonMetersPerRadian(newtonmeterperradian.YottanewtonMetersPerRadian).NewtonMetersPerRadian, YottanewtonMetersPerRadianTolerance); AssertEx.EqualTolerance(1, RotationalStiffness.FromZettanewtonMetersPerRadian(newtonmeterperradian.ZettanewtonMetersPerRadian).NewtonMetersPerRadian, ZettanewtonMetersPerRadianTolerance); }