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