Skip to content

Commit

Permalink
Test clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-dot-cohen committed Sep 14, 2023
1 parent 700d721 commit 01a7e9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions HyperSerializer.Test/SerializerTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using NUnit.Framework;
Expand Down Expand Up @@ -283,7 +284,7 @@ public void Test_Class_With_Nullable_Byte_Array_Should_Serialize()

var deserialized = HyperSerializer.Deserialize<ScreenshotContent>(serialized);

Assert.AreEqual(deserialized.ImageBytes.Length, content.ImageBytes.Length);
Assert.True(deserialized.ImageBytes.SequenceEqual(content.ImageBytes));
}

[Test]
Expand All @@ -302,7 +303,7 @@ public void Test_Struct_Array_Should_Serialize()
SymbolId = 12
};

var tickArray = HyperSerializer.Serialize(ticks).ToArray();
var tickArray = HyperSerializer.Serialize(ticks);

var hsOut = HyperSerializer.Deserialize<SymbolTick[]>(tickArray);

Expand Down

0 comments on commit 01a7e9d

Please sign in to comment.