diff --git a/tests/NGrib.Tests/Grib1Input_Test.cs b/tests/NGrib.Tests/Grib1Input_Test.cs index cf6813f..fb21d92 100644 --- a/tests/NGrib.Tests/Grib1Input_Test.cs +++ b/tests/NGrib.Tests/Grib1Input_Test.cs @@ -11,7 +11,7 @@ public class Grib1Input_Test [Fact] public void Read_Test() { - using var stream = File.OpenRead(@"samples\marine-lion_corse.grb"); + using var stream = File.OpenRead(GribFileSamples.MarineLionCorse); var reader = new Grib1Reader(stream); var data = new Dictionary>(); diff --git a/tests/NGrib.Tests/GribFileSamples.cs b/tests/NGrib.Tests/GribFileSamples.cs index 082db4c..023165c 100644 --- a/tests/NGrib.Tests/GribFileSamples.cs +++ b/tests/NGrib.Tests/GribFileSamples.cs @@ -4,6 +4,8 @@ internal static class GribFileSamples { public static string ValidFile { get; } = "samples/gfs.20200314.t00z.pgrb2.0p25.anl"; + public static string MarineLionCorse { get; } = @"samples/marine-lion_corse.grb"; + /// /// Octet No. Octet No. Value Meaning /// 1-4 1-4 GRIB “GRIB” (coded according to the International Alphabet No. 5) diff --git a/tests/NGrib.Tests/NGrib.Tests.csproj b/tests/NGrib.Tests/NGrib.Tests.csproj index 0c8d25f..dc0182e 100644 --- a/tests/NGrib.Tests/NGrib.Tests.csproj +++ b/tests/NGrib.Tests/NGrib.Tests.csproj @@ -1,45 +1,10 @@ - net6 - + net8 false - - - - - - - - - - - Always - - - Always - - - Always - - - Always - - - Always - - - - Always - - - - Always - - - @@ -59,28 +24,10 @@ - - Always - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - + PreserveNewest - - Always - - + PreserveNewest