diff --git a/test/ReaderTest.cs b/test/ReaderTest.cs index 582528c..7d1a63d 100644 --- a/test/ReaderTest.cs +++ b/test/ReaderTest.cs @@ -1,6 +1,6 @@ using System; using System.Text; -using Byter; +using Byter.Legacy; using Xunit; namespace ByterTest; @@ -238,14 +238,14 @@ public void TryMakeError() [Fact] public void ReadFloat2() { - var target = new Float2(1, 2); + var target = new ByFloat2(1, 2); Writer writer = new(); writer.Write(target); Reader reader = new(ref writer); - var result = reader.Read(); + var result = reader.Read(); Assert.Equal(target, result); Assert.True(reader.Success); } @@ -253,14 +253,14 @@ public void ReadFloat2() [Fact] public void ReadFloat3() { - var target = new Float3(1, 2, 3); + var target = new ByFloat3(1, 2, 3); Writer writer = new(); writer.Write(target); Reader reader = new(ref writer); - var result = reader.Read(); + var result = reader.Read(); Assert.Equal(target, result); Assert.True(reader.Success); } @@ -268,7 +268,7 @@ public void ReadFloat3() [Fact] public void ImplFloat2() { - var result = new Float2(FLOAT_X, FLOAT_Y); + var result = new ByFloat2(FLOAT_X, FLOAT_Y); Assert.Equal(FLOAT_X, result.X); Assert.Equal(FLOAT_Y, result.Y); @@ -277,7 +277,7 @@ public void ImplFloat2() [Fact] public void ImplFloat3() { - var result = new Float3(FLOAT_X, FLOAT_Y, FLOAT_Z); + var result = new ByFloat3(FLOAT_X, FLOAT_Y, FLOAT_Z); Assert.Equal(FLOAT_X, result.X); Assert.Equal(FLOAT_Y, result.Y); @@ -287,7 +287,7 @@ public void ImplFloat3() [Fact] public void ImplFloat4() { - var result = new Float4(FLOAT_X, FLOAT_Y, FLOAT_Z, FLOAT_W); + var result = new ByFloat4(FLOAT_X, FLOAT_Y, FLOAT_Z, FLOAT_W); Assert.Equal(FLOAT_X, result.X); Assert.Equal(FLOAT_Y, result.Y); diff --git a/test/WriterTest.cs b/test/WriterTest.cs index 238e1c2..dd99995 100644 --- a/test/WriterTest.cs +++ b/test/WriterTest.cs @@ -5,7 +5,7 @@ using Xunit; using Byter; -using Byter.Core; +using Byter.Legacy; namespace ByterTest; @@ -35,7 +35,7 @@ public void Write() w.Write((char) 'A'); w.Write((string) "UTF8"); w.Write((string) "ASCII", Encoding.ASCII); - w.Write(new Float2(1, 2)); + w.Write(new ByFloat2(1, 2)); byte[] a = w.GetBytes(); List b = w.GetList();