コード例 #1
0
        public void Should_Ignore_Property_Accessors()
        {
            var analyzer = new ResponseForClassAnalyzer();

            Assert.AreEqual(1, analyzer.ComputeRFC(typeof(Country).GetCecilType()));
        }
コード例 #2
0
        public void Should_Take_In_Account_Computed_Properties()
        {
            var analyzer = new ResponseForClassAnalyzer();

            Assert.AreEqual(3, analyzer.ComputeRFC(typeof(Employee).GetCecilType()));
        }
コード例 #3
0
        public void Should_Compute_RFC()
        {
            var analyzer = new ResponseForClassAnalyzer();

            Assert.AreEqual(6, analyzer.ComputeRFC(typeof(ClassA).GetCecilType()));
        }