コード例 #1
0
        public void FeatureGetByID_ReturnFeature(int id, bool expected)
        {
            int      featureID       = id;
            Features feature         = null;
            bool     notNullFeatures = false;

            feature         = FeatureManager.FeatureGetByID(featureID, true);
            notNullFeatures = (feature != null);

            Assert.IsTrue(notNullFeatures == expected);
        }