mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-21 09:02:26 +08:00
V1.2 新构架
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace System
|
||||
{
|
||||
[TestFixture]
|
||||
public class ByteArrayTest
|
||||
{
|
||||
[Test]
|
||||
public void ByteArrayTestMethod()
|
||||
{
|
||||
var values = new byte[] { 0xff };
|
||||
var sbytes = values.ToSByteArray();
|
||||
var bytes = sbytes.ToByteArray();
|
||||
Assert.IsTrue(bytes[0] == values[0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user