public void can_hummanize_gauge() { var expected = "\r\n value = 0.50 Calls\r\n"; var gaugeValueSource = new GaugeValueSource("test_gauge", ConstantValue.Provider(0.5), Unit.Calls, MetricTags.None); var result = gaugeValueSource.Hummanize(); Assert.Equal(result, expected); }
public void can_hummanize_gauge() { var expected = "\n value = 0.50 calls\n"; var gaugeValueSource = new GaugeValueSource("test_gauge", ConstantValue.Provider(0.5), Unit.Calls, MetricTags.Empty); var result = gaugeValueSource.Hummanize(); AssertStringResult(result, expected); }