コード例 #1
0
        public void CreateActionSheetOptionFromEnumValueWithDescription()
        {
            var option = ActionSheetOption.FromOption(TestEnum.Three);

            Assert.AreEqual(option.Value, TestEnum.Three);
            Assert.AreEqual("Tester", option.Title);
        }
コード例 #2
0
        public void CreateActionSheetOptionFromEnumValue()
        {
            var option = ActionSheetOption.FromOption(TestEnum.One);

            Assert.AreEqual(option.Value, TestEnum.One);
            Assert.AreEqual("One", option.Title);
        }