Exemplo n.º 1
0
        public void PerTimeUnit(double hertz, TimeUnit timeUnit, double expectedAmount)
        {
            var rate = new Rate()
            {
                Hertz = hertz
            };

            Assert.That(rate.Per(timeUnit), Is.EqualTo(expectedAmount));
        }
Exemplo n.º 2
0
 public void DeltaRatio(double a, double b, double expectedDeltaRatio)
 {
     Assert.That(BrandonUtils.Standalone.Mathb.DeltaRatio(a, b), Is.EqualTo(expectedDeltaRatio));
 }