Beispiel #1
0
 public void IsPrimitive_ForReferenceTypesShouldReturnFalse()
 {
     foreach (var type in _referenceTypes)
     {
         Assert.False(PrimitiveTypeUtils.IsPrimitive(type));
     }
 }
Beispiel #2
0
 public void IsPrimitive_ForPrimitiveTypesShouldReturnTrue()
 {
     foreach (var type in _primitiveTypes)
     {
         Assert.True(PrimitiveTypeUtils.IsPrimitive(type));
     }
 }