public void GetLatestMetricDataTest() { var res = target.GetLatestMetricData("hestia01", "VBAT"); Assert.IsTrue(res.Length >= 3); Assert.IsTrue(res.Contains(".")); // komma value res = target.GetLatestMetricData("hestia01", "AlertLevel:max"); Assert.IsTrue(res.Length >= 1); Assert.IsFalse(res.Contains(".")); // no komma value }
public void BrightClusterConnectionWithoutInitGetLatestMetricDataTest() { BrightClusterConnection target = new BrightClusterConnection(); target.GetLatestMetricData("bla", "bla"); }