public void TestGetHashCode_EmptyBinary() { var target = new MessagePackString(new byte[0], false); // OK, returned value is implementation detail. target.GetHashCode(); }
public void TestGetHashCode_StringifiableBinary() { var target = new MessagePackString(new byte[] { ( byte )'A', ( byte )'B', ( byte )'C' }, false); Assert.AreEqual("ABC".GetHashCode(), target.GetHashCode()); }
public void TestGetHashCode_EmptyString() { var target = new MessagePackString(String.Empty); Assert.AreEqual(String.Empty.GetHashCode(), target.GetHashCode()); }
public void TestGetHashCode_String() { var target = new MessagePackString("ABC"); Assert.AreEqual("ABC".GetHashCode(), target.GetHashCode()); }
public void TestGetHashCode_Binary() { var target = new MessagePackString(new byte[] { 0xFF, 0xED, 0xCB }); var valueIsImplementationDetail = target.GetHashCode(); }
public void TestGetHashCode_EmptyBinary() { var target = new MessagePackString(new byte[0]); var valueIsImplementationDetail = target.GetHashCode(); }
public void TestGetHashCode_EmptyBinary() { var target = new MessagePackString( new byte[ 0 ] ); // OK, returned value is implementation detail. target.GetHashCode(); }
public void TestGetHashCode_EmptyString() { var target = new MessagePackString( String.Empty ); Assert.AreEqual( String.Empty.GetHashCode(), target.GetHashCode() ); }
public void TestGetHashCode_StringifiableBinary() { var target = new MessagePackString( new byte[] { ( byte )'A', ( byte )'B', ( byte )'C' } ); Assert.AreEqual( "ABC".GetHashCode(), target.GetHashCode() ); }
public void TestGetHashCode_String() { var target = new MessagePackString( "ABC" ); Assert.AreEqual( "ABC".GetHashCode(), target.GetHashCode() ); }
public void TestGetHashCode_Binary() { var target = new MessagePackString( new byte[] { 0xFF, 0xED, 0xCB } ); // OK, returned value is implementation detail. target.GetHashCode(); }
public void TestGetHashCode_EmptyBinary() { var target = new MessagePackString( new byte[ 0 ] ); var valueIsImplementationDetail = target.GetHashCode(); }
public void TestGetHashCode_Binary() { var target = new MessagePackString( new byte[] { 0xFF, 0xED, 0xCB } ); var valueIsImplementationDetail = target.GetHashCode(); }