public void HumanReadableEnumFactoryClass_GetGraphEditStyleMethod_ReturnsArrayContainingGraphEditStylePreserveSectionTimesValueWithCorrectNameProperty()
        {
            HumanReadableEnum <GraphEditStyle>[] testOutput = HumanReadableEnumFactory.GetGraphEditStyle();

            HumanReadableEnum <GraphEditStyle> item = testOutput.Single(e => e.Value == GraphEditStyle.PreserveSectionTimes);

            Assert.AreEqual(Resources.HumanReadableEnum_GraphEditStyle_PreserveSectionTimes, item.Name);
        }
        public void HumanReadableEnumFactoryClass_GetGraphEditStyleMethod_ReturnsArrayOfLength2()
        {
            HumanReadableEnum <GraphEditStyle>[] testOutput = HumanReadableEnumFactory.GetGraphEditStyle();

            Assert.AreEqual(2, testOutput.Length);
        }
 /// <summary>
 /// Default constructor: creates the form and initialises the clock types checkbox values.
 /// </summary>
 public DocumentOptionsEditForm()
 {
     InitializeComponent();
     cbClockType.Items.AddRange(HumanReadableEnumFactory.GetClockTypes());
     cbGraphEditStyle.Items.AddRange(HumanReadableEnumFactory.GetGraphEditStyle());
 }