Exemplo n.º 1
0
 public void ToHex_ValidSingleByte_ValidResults(byte testByte, string result)
 {
     Assert.Equal(result, Challenge2.ToHex(new [] { testByte }));
 }
Exemplo n.º 2
0
 public void ToHex_NUllByte_Throws()
 {
     Assert.Throws <ArgumentNullException>(() => Challenge2.ToHex(null));
 }