Skip to content

Commit

Permalink
Table 7 tests update
Browse files Browse the repository at this point in the history
  • Loading branch information
holos-aafc committed Apr 18, 2024
1 parent 653c868 commit 2f93376
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void TestCleanup()
public void GetData()
{
var result = _sut.GetData().ToList();
Assert.AreEqual(91, result.Count);
Assert.AreEqual(90, result.Count);
}

[TestMethod]
Expand Down Expand Up @@ -139,13 +139,12 @@ public void GetOats()
public void GetLigninContentValue()
{
Table_7_Relative_Biomass_Information_Data data = _sut.GetResidueData(IrrigationType.RainFed, 0, CropType.SmallGrainCereals, SoilFunctionalCategory.Black, Province.Alberta);
Assert.AreEqual(0.074, data.LigninContent);
Assert.AreEqual(0.073, data.LigninContent);

data = _sut.GetResidueData(IrrigationType.RainFed, 0, CropType.AlfalfaMedicagoSativaL, SoilFunctionalCategory.DarkBrown, Province.Alberta);
Assert.AreEqual(0.133, data.LigninContent);
}


#endregion
}
}
1 change: 1 addition & 0 deletions H.Core/Calculators/Carbon/CarbonCalculatorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public double CalculateDigestateCarbonInputPerHectare(

/// <summary>
/// Equation 2.1.2-34
/// Equation 2.1.2-2
///
/// (kg C ha^-1)
/// </summary>
Expand Down

0 comments on commit 2f93376

Please sign in to comment.