public void EvaluateEquationTest() { OrganicN target = new OrganicN(); // TODO: Initialize to an appropriate value double CoarseSandPercentage = 0F; // TODO: Initialize to an appropriate value double FineSandPercentage = 8.71; // TODO: Initialize to an appropriate value double HumusPercentage = 7.3; // TODO: Initialize to an appropriate value double Precipitation = 800; // TODO: Initialize to an appropriate value double Slope = 3.23; // TODO: Initialize to an appropriate value double expected = 0F; // TODO: Initialize to an appropriate value double actual; actual = target.EvaluateEquation(CoarseSandPercentage, FineSandPercentage, HumusPercentage, Precipitation, Slope); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public static ISource GetSourceModel(string ModelID) { ISource NewModel = null; switch (ModelID) { case "Atmospheric": NewModel = new AtmosphericDeposition(); break; case "GroundwaterSource": NewModel = new GroundWaterSource(); break; case "PointSource": NewModel = new PointSource(); break; case "OrganicN": NewModel = new OrganicN(); break; } return NewModel; }
public static ISource GetSourceModel(string ModelID) { ISource NewModel = null; switch (ModelID) { case "Atmospheric": NewModel = new AtmosphericDeposition(); break; case "GroundwaterSource": NewModel = new GroundWaterSource(); break; case "PointSource": NewModel = new PointSource(); break; case "OrganicN": NewModel = new OrganicN(); break; } return(NewModel); }