Example #1
0
        public CounterExtensionsShould()
        {
            _value        = 100d;
            _counterLabel = new CounterLabel("abc");
            _counterLabel.IncrementTo(_value);

            _counter = new Counter <CounterExtensionsShould>(Fixture.Create <string>(), null, new[]
            {
                _counterLabel
            });
        }
Example #2
0
 public void HasValue()
 {
     _label.IncrementTo(100d);
     _label.Value.Should().Be(100d);
 }