Beispiel #1
0
 public void HexValueConvertsCharValuesToIntegersCorrectly()
 {
     for (int i = 0; i < 0x10; i++)
     {
         var hexChar = i.ToString("X")[0];
         Assert.Equal(i, AntiForgeryDataSerializer.HexValue(hexChar));
     }
 }