Пример #1
0
        public void GetFeatureNames_TwoFeatures_ReturnsListOfTwoStrings()
        {
            // arrange
            FeatureManager featureManager = new FeatureManager();

            featureManager.Add(new Feature <int>("F1"));
            featureManager.Add(new Feature <double>("F2"));

            // act
            List <string> names = featureManager.GetFeatureNames();

            // assert
            Assert.AreEqual(true, names.Contains("F1") & names.Contains("F2"));
        }