src/GenFx.Wpf.Tests/EnumViewModelTest.cs
/// <summary>
/// Tests that the ctor initializes the state correctly.
/// </summary>
Tests that the ctor initializes the state correctly.
Tests that the ctor initializes the state correctly .
[Fact]
        public void EnumViewModel_Ctor()
        {
            EnumViewModel viewModel = new EnumViewModel(FitnessSortOption.Entity, "Test");
            Assert.Equal(FitnessSortOption.Entity, viewModel.Value);
            Assert.Equal("Test", viewModel.DisplayName);
        }
[ Fact ] public void EnumViewModel_Ctor ( ) { EnumViewModel viewModel = new EnumViewModel ( FitnessSortOption . Entity , " " ) ; Assert . Equal ( FitnessSortOption . Entity , viewModel . Value ) ; Assert . Equal ( " " , viewModel . DisplayName ) ; }
Tests that the ctor initializes the state correctly.
Tests that the ctor initializes the state correctly .