public void ConvertSectionTest() { LC4Convertor target = new LC4Convertor(); TestProject.Denisenko_Cutting_Converting_LC4ConvertorAccessor accessor = new TestProject.Denisenko_Cutting_Converting_LC4ConvertorAccessor(target); ParametersCollection parameters = new ParametersCollection(); parameters.CutterThickness = 10M; CuttingScheme scheme = new CuttingScheme(); scheme.Width = 1000M; scheme.Height = 1000M; scheme.Parameters = parameters; Section someSection = null; scheme.Cut(scheme.RootSection, 20M, CutType.Vertical, out someSection); Section prevSection = null; Section input = scheme.RootSection.NestedSections[0]; Section cut = scheme.RootSection.NestedSections[1]; LC4Section expected = new LC4Section(); expected.Size = LC4Numeric.FromNonScaled(30); expected.SectionType = LC4SectionType.Anschnitt; LC4Section actual; actual = accessor.ConvertSection(input, prevSection, cut); Assert.AreEqual <LC4Section>(expected, actual, "Denisenko.Cutting.Converting.LC4Convertor.ConvertSection did not return the expec" + "ted value."); Assert.Inconclusive("Verify the correctness of this test method."); }
public void AddSectionsTest() { LC4Convertor target = new LC4Convertor(); TestProject.Denisenko_Cutting_Converting_LC4ConvertorAccessor accessor = new TestProject.Denisenko_Cutting_Converting_LC4ConvertorAccessor(target); List <LC4Section> into = null; // TODO: Initialize to an appropriate value List <Section> sections = null; // TODO: Initialize to an appropriate value accessor.AddSections(into, sections); Assert.Inconclusive("A method that does not return a value cannot be verified."); }