refactor: syntax fixes

This commit is contained in:
Paul Pacheco 2019-08-18 16:30:53 -05:00
parent 1070fee325
commit 9e283b1f9b

View File

@ -12,7 +12,7 @@ class ArrayByteMessage : MessageBase
[Test] [Test]
public void TestNullByterray() public void TestNullByterray()
{ {
ArrayByteMessage intMessage = new ArrayByteMessage() ArrayByteMessage intMessage = new ArrayByteMessage
{ {
array = null array = null
}; };
@ -27,7 +27,7 @@ public void TestNullByterray()
[Test] [Test]
public void TestEmptyByteArray() public void TestEmptyByteArray()
{ {
ArrayByteMessage intMessage = new ArrayByteMessage() ArrayByteMessage intMessage = new ArrayByteMessage
{ {
array = new byte[] { } array = new byte[] { }
}; };
@ -44,7 +44,7 @@ public void TestEmptyByteArray()
[Test] [Test]
public void TestDataByteArray() public void TestDataByteArray()
{ {
ArrayByteMessage intMessage = new ArrayByteMessage() ArrayByteMessage intMessage = new ArrayByteMessage
{ {
array = new byte[] { 3, 4, 5 } array = new byte[] { 3, 4, 5 }
}; };
@ -66,7 +66,7 @@ class ArrayIntMessage : MessageBase
[Test] [Test]
public void TestNullIntArray() public void TestNullIntArray()
{ {
ArrayIntMessage intMessage = new ArrayIntMessage() ArrayIntMessage intMessage = new ArrayIntMessage
{ {
array = null array = null
}; };
@ -81,7 +81,7 @@ public void TestNullIntArray()
[Test] [Test]
public void TestEmptyIntArray() public void TestEmptyIntArray()
{ {
ArrayIntMessage intMessage = new ArrayIntMessage() ArrayIntMessage intMessage = new ArrayIntMessage
{ {
array = new int [] { } array = new int [] { }
}; };
@ -96,7 +96,7 @@ public void TestEmptyIntArray()
[Test] [Test]
public void TestDataIntArray() public void TestDataIntArray()
{ {
ArrayIntMessage intMessage = new ArrayIntMessage() ArrayIntMessage intMessage = new ArrayIntMessage
{ {
array = new[] { 3, 4, 5} array = new[] { 3, 4, 5}
}; };