Exemple #1
0
 public void MinimalNumberOfBits_Provides65_Calculated()
 {
     Assert.AreEqual(7, BitConverter.MinimalNumberOfBits(65));
 }
Exemple #2
0
 public void MinimalNumberOfBits_Provides240_Calculated()
 {
     Assert.AreEqual(8, BitConverter.MinimalNumberOfBits(240));
 }
Exemple #3
0
 public void MinimalNumberOfBits_Provides17_Calculated()
 {
     Assert.AreEqual(5, BitConverter.MinimalNumberOfBits(17));
 }