Exemple #1
0
        public void ManualMetric()
        {
            var metric = new ManualMetric(MetricName);

            metric.Start();
            metric.Stop();
            metric.Validate(out _);
        }
Exemple #2
0
        public void ValidateReturnsTrueWhenStartedAndStopped()
        {
            var metric = new ManualMetric(Name, Description);

            metric.Start();
            metric.Stop();
            metric.Validate(out _).Should().BeTrue();
        }