Skip to content

Commit

Permalink
Fix config for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HamishBrownPFR committed Apr 1, 2024
1 parent 8a43013 commit 181c3f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file modified Prototype_V3.4.xlsm
Binary file not shown.
2 changes: 2 additions & 0 deletions SVSModel.Tests/Configuration/FieldConfigTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace SVSModel.Tests.Configuration;

public class FieldConfigTests
{
private static readonly string WeatherStation = Defaults.WeatherStation;
private static readonly string SoilCategory = Defaults.SoilCategory;
private static readonly string Texture = Defaults.SoilTexture;
private static readonly double PMN = Defaults.PMN;
Expand All @@ -23,6 +24,7 @@ public class FieldConfigTests

private readonly Dictionary<string, object> ExcelInputDict = new()
{
{ "WeatherStation", WeatherStation },
{ "SoilCategory", SoilCategory },
{ "Texture", Texture },
{ "PMN", PMN },
Expand Down
1 change: 1 addition & 0 deletions SVSModel/Models/Defaults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public static class Defaults
public static readonly string ResidueRemoval = "None removed";
public static readonly string ResidueIncorporation = "Full (Plough)";

public static readonly string WeatherStation = "Lincoln";
public static readonly string SoilCategory = "Sedimentary";
public static readonly string SoilTexture = "Silt loam";
public static readonly string SampleDepth = "0-30cm";
Expand Down

0 comments on commit 181c3f4

Please sign in to comment.