public void Pow_3d() { var x = Decimeter.Pow(2); var p = x.BaseUnits.Powers[0]; Assert.IsTrue(p.Power == 2); }
public void Pow_3c() { var x = Decimeter.Pow(2); var p = x.BaseUnits.Powers[0]; Assert.IsTrue(p.Unit == Meter); }
public void Pow_2() { var x = Decimeter.Pow(2); Assert.IsTrue(x.Name == ""); Assert.IsTrue(x.Symbol == "dm²"); }
public void Pow_3b() { var x = Decimeter.Pow(2); Assert.IsTrue(x.Scale == new Rational(1, 100)); }
public void Pow_3a() { var x = Decimeter.Pow(2); Assert.IsTrue(x.BaseUnits.Count == 1); }