public static void CheckEquality(int length1, int length2, bool expected) { var type1 = new SqlArrayType(length1); var type2 = new SqlArrayType(length2); Assert.Equal(expected, type1.Equals(type2)); }
public static void ConstructArray(int length) { var type = new SqlArrayType(length); Assert.NotNull(type); Assert.Equal(length, type.Length); }
public static void FormatString(int length, string expected) { var type = new SqlArrayType(length); Assert.NotNull(type); Assert.Equal(length, type.Length); Assert.Equal(expected, type.ToString()); }