Skip to content

Commit

Permalink
removed some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmaierhofer committed Oct 5, 2023
1 parent 117f339 commit 0352219
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/Aardvark.Algodat.Tests/ParsingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private static void ParseAscii_Byte_Test(string txt, int result, bool isInvalid)
var data = LineParsers.Custom(buffer, buffer.Length, 0.0, layout, partIndices: null);
if (isInvalid)
{
Assert.IsTrue(data == null);
Assert.IsTrue(data.IsEmpty);
}
else
{
Expand Down Expand Up @@ -244,7 +244,7 @@ private static void ParseAscii_FloatColor_Test(string txt, int result, bool isIn
var data = LineParsers.Custom(buffer, buffer.Length, 0.0, layout, partIndices: null);
if (isInvalid)
{
Assert.IsTrue(data == null);
Assert.IsTrue(data.IsEmpty);
}
else
{
Expand Down Expand Up @@ -437,7 +437,7 @@ 1.2 3.4 5.6 8 254

var buffer = Encoding.ASCII.GetBytes(txt);
var data = LineParsers.XYZRGB(buffer, buffer.Length, 0.0, partIndices: null);
Assert.IsTrue(data == null);
Assert.IsTrue(data.IsEmpty);
}

[Test]
Expand All @@ -449,7 +449,7 @@ 1.2 3.4 5.6 8

var buffer = Encoding.ASCII.GetBytes(txt);
var data = LineParsers.XYZRGB(buffer, buffer.Length, 0.0, partIndices: null);
Assert.IsTrue(data == null);
Assert.IsTrue(data.IsEmpty);
}

[Test]
Expand Down Expand Up @@ -495,7 +495,7 @@ 1.2 3.4 5.6 8765 8 254

var buffer = Encoding.ASCII.GetBytes(txt);
var data = LineParsers.XYZIRGB(buffer, buffer.Length, 0.0, partIndices: null);
Assert.IsTrue(data == null);
Assert.IsTrue(data.IsEmpty);
}

[Test]
Expand All @@ -507,7 +507,7 @@ 1.2 3.4 5.6 8765 8

var buffer = Encoding.ASCII.GetBytes(txt);
var data = LineParsers.XYZIRGB(buffer, buffer.Length, 0.0, partIndices: null);
Assert.IsTrue(data == null);
Assert.IsTrue(data.IsEmpty);
}

[Test]
Expand Down
2 changes: 2 additions & 0 deletions src/Aardvark.Algodat.Tests/PartIndicesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ You should have received a copy of the GNU Affero General Public License
using System;
using System.Collections.Generic;

#pragma warning disable IDE1006 // Naming Styles

namespace Aardvark.Geometry.Tests;

[TestFixture]
Expand Down
2 changes: 1 addition & 1 deletion src/Aardvark.Data.E57/Aardvark.Data.E57.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<LangVersion>10</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>..\..\bin\Debug</OutputPath>
Expand Down
3 changes: 2 additions & 1 deletion src/Apps/Viewer/paket.references
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Aardvark.Build
Aardvark.Application.Utilities
Aardvark.Application.Utilities
FSharp.Core

0 comments on commit 0352219

Please sign in to comment.