Skip to content

Commit

Permalink
Update WriterTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
alec1o authored Sep 4, 2023
1 parent 7d3f264 commit f899867
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/WriterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Xunit;
using Byter;
using Byter.Core;
using System.Numerics;

namespace ByterTest;

Expand Down Expand Up @@ -36,12 +35,12 @@ public void Write()
w.Write((char) 'A');
w.Write((string) "UTF8");
w.Write((string) "ASCII", Encoding.ASCII);
w.Write(new Vector2(1, 2));
w.Write(new Float2(1, 2));

byte[] a = w.GetBytes();
List<byte> b = w.GetList();

Assert.Equal(a.Length, w.Length);
Assert.Equal(b.Count, w.Length);
}
}
}

0 comments on commit f899867

Please sign in to comment.