public void GetHashCode1() { var tupleCode = LabelsHelper.GetHashCode(ValueTuple.Create("1")); var arrayCode = LabelsHelper.GetHashCode(new [] { "1" }); Assert.Equal(tupleCode, arrayCode); }
public void GetHashCode8() { var tupleCode = LabelsHelper.GetHashCode(ValueTuple.Create("1", "2", "3", "4", "5", "6", "7", "8")); var arrayCode = LabelsHelper.GetHashCode(new [] { "1", "2", "3", "4", "5", "6", "7", "8" }); Assert.Equal(tupleCode, arrayCode); }
public void GetHashCode0() { var tupleCode = LabelsHelper.GetHashCode(ValueTuple.Create()); var arrayCode = LabelsHelper.GetHashCode(new string[0]); Assert.Equal(tupleCode, arrayCode); }