Skip to content

Merge pull request #10 from Plant-Food-Research-Open/JBris-patch-2 #44

Merge pull request #10 from Plant-Food-Research-Open/JBris-patch-2

Merge pull request #10 from Plant-Food-Research-Open/JBris-patch-2 #44

GitHub Actions / Unit Tests succeeded Mar 25, 2024 in 1s

12 passed, 0 failed and 0 skipped

Tests passed successfully

✅ SVSModel.Tests/unit_results.xml

12 tests were completed in 28ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SVSModel.Tests.dll 12✅ 28ms

✅ SVSModel.Tests.dll

SVSModel.Tests.Configuration.CropConfigTests
  ✅ Test_CropConfig_Excel_Sets_Yield_Correctly(yield: 10, units: "t/ha", population: null)
  ✅ Test_CropConfig_Excel_Sets_Yield_Correctly(yield: 0.25, units: "kg/head", population: 25000)
  ✅ Test_CropConfig_Excel_Sets_Yield_Correctly(yield: 10000, units: "kg/ha", population: null)
  ✅ Test_CropConfig_Both_Constructors_Match(yield: 0.25, units: "kg/head", population: 25000)
  ✅ Test_CropConfig_Both_Constructors_Match(yield: 10, units: "t/ha", population: null)
  ✅ Test_CropConfig_Both_Constructors_Match(yield: 10000, units: "kg/ha", population: null)
  ✅ Test_CropConfig_WebApp_Sets_Yield_Correctly(yield: 10000, units: "kg/ha", population: null)
  ✅ Test_CropConfig_WebApp_Sets_Yield_Correctly(yield: 0.25, units: "kg/head", population: 25000)
  ✅ Test_CropConfig_WebApp_Sets_Yield_Correctly(yield: 10, units: "t/ha", population: null)
  ✅ Test_CropConfig_Excel_Sets_Residues_Correctly
SVSModel.Tests.Configuration.FieldConfigTests
  ✅ Test_FieldConfig_Excel_Gets_Values_Correctly
  ✅ Test_FieldConfig_Both_Constructors_Match