public void Should_Ignore_Property_Accessors() { var analyzer = new ResponseForClassAnalyzer(); Assert.AreEqual(1, analyzer.ComputeRFC(typeof(Country).GetCecilType())); }
public void Should_Take_In_Account_Computed_Properties() { var analyzer = new ResponseForClassAnalyzer(); Assert.AreEqual(3, analyzer.ComputeRFC(typeof(Employee).GetCecilType())); }
public void Should_Compute_RFC() { var analyzer = new ResponseForClassAnalyzer(); Assert.AreEqual(6, analyzer.ComputeRFC(typeof(ClassA).GetCecilType())); }