Пример #1
0
        public void TryGetClassificationTest()
        {
            var max = HKAppleWalkingSteadiness.GetMaximumQuantity(HKAppleWalkingSteadinessClassification.Ok);

            Assert.True(HKAppleWalkingSteadiness.TryGetClassification(max, out var classification, out var error));
            Assert.Null(error, "error");
            Assert.AreEqual(classification, HKAppleWalkingSteadinessClassification.Ok, "classification");
        }
Пример #2
0
 public void GetMaximumQuantityTest()
 => Assert.NotNull(HKAppleWalkingSteadiness.GetMaximumQuantity(HKAppleWalkingSteadinessClassification.Ok));