Skip to content

Commit

Permalink
Issue 38 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdoyle-kx authored Dec 22, 2020
1 parent d2e781c commit efe6aff
Show file tree
Hide file tree
Showing 24 changed files with 592 additions and 140 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesBooleanArrayInput()
{
bool[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesBooleanArrayInputWithZipEnabled()
{
bool[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesByteArrayInput()
{
byte[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesByteArrayInputWithZipEnabled()
{
byte[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void ConnectionSerialisesAndDeserialisesCharArrayInput()
{
char[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -35,7 +35,7 @@ public void ConnectionSerialisesAndDeserialisesCharArrayInputWithZipEnabled()
{
char[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void ConnectionSerialisesAndDeserialisesDateArrayInput()
{
c.Date[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -35,7 +35,7 @@ public void ConnectionSerialisesAndDeserialisesDateArrayInputWithZipEnabled()
{
c.Date[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void ConnectionSerialisesAndDeserialisesDateTimeArrayInput()
{
DateTime[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -35,7 +35,7 @@ public void ConnectionSerialisesAndDeserialisesDateTimeArrayInputWithZipEnabled(
{
DateTime[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesDoubleArrayInput()
{
double[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesDoubleArrayInputWithZipEnabled()
{
double[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesFloatArrayInput()
{
float[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesFloatArrayInputWithZipEnabled()
{
float[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void ConnectionSerialisesAndDeserialisesGuidArrayInput()
{
Guid[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -35,7 +35,7 @@ public void ConnectionSerialisesAndDeserialisesGuidArrayInputWithZipEnabled()
{
Guid[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesIntArrayInput()
{
int[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesIntArrayInputWithZipEnabled()
{
int[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesKTimeSpanArrayInput()
{
c.KTimespan[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesKTimeSpanArrayInputWithZipEnabled
{
c.KTimespan[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesLongArrayInput()
{
long[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesLongArrayInputWithZipEnabled()
{
long[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesMinuteArrayInput()
{
c.Minute[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesMinuteArrayInputWithZipEnabled()
{
c.Minute[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesMonthArrayInput()
{
c.Month[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesMonthArrayInputWithZipEnabled()
{
c.Month[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesObjectArrayInput()
{
object[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesObjectArrayInputWithZipEnabled()
{
object[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesSecondArrayInput()
{
c.Second[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesSecondArrayInputWithZipEnabled()
{
c.Second[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void ConnectionSerialisesAndDeserialisesByteArrayInput()
{
short[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -35,7 +35,7 @@ public void ConnectionSerialisesAndDeserialisesByteArrayInputWithZipEnabled()
{
short[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void ConnectionSerialisesAndDeserialisesStringArrayInput()
{
string[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -34,7 +34,7 @@ public void ConnectionSerialisesAndDeserialisesStringArrayInputWithZipEnabled()
{
string[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void ConnectionSerialisesAndDeserialisesTimeSpanArrayInput()
{
TimeSpan[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
byte[] serialisedData = connection.Serialize(1, expected);

Expand All @@ -35,7 +35,7 @@ public void ConnectionSerialisesAndDeserialisesTimeSpanArrayInputWithZipEnabled(
{
TimeSpan[] expected = _data;

using (var connection = new c())
using (var connection = new c(3))
{
connection.IsZipEnabled = true;

Expand Down
Loading

0 comments on commit efe6aff

Please sign in to comment.