public void m_s2___mm_s2() { converter = new LinearAccelerationConverter("m/s2", "mm/s2"); double valL = 1; double valR = 1_000; Assert.AreEqual(valR, converter.LeftToRight(valL)); Assert.AreEqual(valL, converter.RightToLeft(valR)); }
public void m_s2___ft_s2() { converter = new LinearAccelerationConverter("m/s2", "ft/s2"); double valL = 1; double valR = 3.280839895013; Assert.AreEqual(valR, converter.LeftToRight(valL)); Assert.AreEqual(valL, converter.RightToLeft(valR)); }
public void m_s2___in_s2() { converter = new LinearAccelerationConverter("m/s2", "in/s2"); double valL = 1; double valR = 39.370078740157; Assert.AreEqual(valR, converter.LeftToRight(valL)); Assert.AreEqual(valL, converter.RightToLeft(valR)); }
public void Cleanup() { converter = null; }