public void CreateActionSheetOptionFromEnumValueWithDescription() { var option = ActionSheetOption.FromOption(TestEnum.Three); Assert.AreEqual(option.Value, TestEnum.Three); Assert.AreEqual("Tester", option.Title); }
public void CreateActionSheetOptionFromEnumValue() { var option = ActionSheetOption.FromOption(TestEnum.One); Assert.AreEqual(option.Value, TestEnum.One); Assert.AreEqual("One", option.Title); }