public void IsAssignableFromFails() { int[] array10 = new int[10]; int[,] array2 = new int[2, 2]; TypeAssert.IsAssignableFrom(array10, array2.GetType()); }
public void IsAssignableFrom() { int[] array10 = new int[10]; int[] array2 = new int[2]; TypeAssert.IsAssignableFrom(array10, array2.GetType()); TypeAssert.IsAssignableFrom(array10, array2.GetType(), "Type Failure Message"); TypeAssert.IsAssignableFrom(array10, array2.GetType(), "Type Failure Message", null); }