Esempio n. 1
0
 public void BasicGauge()
 {
     stats.AddGauge("pi", new Gauge(() => Math.PI));
     stats.Gauges.Values.First().Value.ShouldBe(Math.PI);
 }
Esempio n. 2
0
 public void BasicGauge()
 {
     stats.AddGauge("pi", new Gauge(() => Math.PI));
     Assert.That(stats.Gauges.Values.First().Value, Is.EqualTo(Math.PI));
 }