public string MaxLittleEndianUnsignedTest(byte[] alpha, byte[] beta) { // Act var result = ByteArrayMath.Max(alpha, beta, true); // Assert return(result.ToHexString()); }
public string MaxBigEndianSignedTest(byte[] alpha, byte[] beta) { // Act var result = ByteArrayMath.Max(alpha, beta, false, true); // Assert return(result.ToHexString()); }
public void MaxNullBetaTest() { Assert.Throws <ArgumentNullException>(() => ByteArrayMath.Max(new byte[] { 0x42 }, null)); }