public void FederalType230Fix_Type300NotFromAList_ReturnsType230() { ICodes codes = new Codes(mf); codes.AddNodes("2.5, 6.4"); var handler = new CodeHandler(codes, new BTI(), "", 0, mf); var types = new TypeAndKind(codes); handler.Cutter += types.CutterDelegate; handler.IsFederalEventHandler(); handler.FullProcessing(); Assert.AreEqual(230, types.Type); }
public void FederalSpeciallyProtectedAreaFix_Codes9_1And9_3AndOtherTypes_ReturnsOtherTypes() { ICodes codes = new Codes(mf); codes.AddNodes("4.5, 9.1, 9.3"); var handler = new CodeHandler(codes, new BTI(), "", 0, mf); var types = new TypeAndKind(codes); handler.Cutter += types.CutterDelegate; handler.IsFederalEventHandler(); handler.FullProcessing(); Assert.AreEqual(100, types.Type); Assert.AreEqual("4.5, 9.1, 9.3", codes.Show); }