public void LuigiFeatureFlags_LuigiFeatureFlagsForJlpToProgramFeatures_ProduceCorrectlyFormedProgramFeaturesJlpFields(LuigiFeatureFlags flagsToTest, JlpHardwareVersion expectedJlpHardwareVersion, JlpFeatures expectedJlpFeatures) { var expectedProgramFeatures = CreateProgramFeaturesWithoutCoreCompatibility(flagsToTest); expectedProgramFeatures.JlpHardwareVersion = expectedJlpHardwareVersion; expectedProgramFeatures.Jlp = expectedJlpFeatures; var programFeatures = flagsToTest.ToProgramFeatures(); Assert.Equal(expectedProgramFeatures, programFeatures); }
public void LuigiFeatureFlags_ToProgramFeatures_ProducesExpectedProgramFeatures(LuigiFeatureFlags featureFlags, ProgramFeatures expectedProgramFeatures) { Assert.Equal(expectedProgramFeatures, featureFlags.ToProgramFeatures()); }