Esempio n. 1
0
 /// <summary>Verifies that the first collection is not a subset of the second collection. Displays a message if the assertion fails.</summary>
 /// <param name="subset">The collection not expected to be a subset of <paramref name="superset" />.</param>
 /// <param name="superset">The collection not expected to be a superset of <paramref name="subset" />.</param>
 /// <param name="message">A message to display if the assertion fails. This message can be seen in the unit test results.</param>
 /// <exception cref="AssertFailedException">All elements in <paramref name="subset" /> are found in <paramref name="superset" /> and are found in sufficient quantity.</exception>
 public virtual void IsNotSubsetOf(ICollection subset, ICollection superset, string message) => CollectionAssert.IsNotSubsetOf(subset, superset, message, null);
Esempio n. 2
0
 /// <summary>Verifies that the first collection is not a subset of the second collection. Displays a message if the assertion fails, and applies the specified formatting to it.</summary>
 /// <param name="subset">The collection not expected to be a subset of <paramref name="superset" />.</param>
 /// <param name="superset">The collection not expected to be a superset of <paramref name="subset" />.</param>
 /// <param name="message">A message to display if the assertion fails. This message can be seen in the unit test results.</param>
 /// <param name="parameters">An array of parameters to use when formatting <paramref name="message" />.</param>
 /// <exception cref="AssertFailedException">All elements in <paramref name="subset" /> are found in <paramref name="superset" /> and are found in sufficient quantity.</exception>
 public virtual void IsNotSubsetOf(ICollection subset, ICollection superset, string message, params object[] parameters) => CollectionAssert.IsNotSubsetOf(subset, superset, message, parameters);
Esempio n. 3
0
 /// <summary>Verifies that the first collection is not a subset of the second collection.</summary>
 /// <param name="subset">The collection not expected to be a subset of <paramref name="superset" />.</param>
 /// <param name="superset">The collection not expected to be a superset of <paramref name="subset" />.</param>
 /// <exception cref="AssertFailedException">All elements in <paramref name="subset" /> are found in <paramref name="superset" /> and are found in sufficient quantity.</exception>
 public virtual void IsNotSubsetOf(ICollection subset, ICollection superset) => CollectionAssert.IsNotSubsetOf(subset, superset, string.Empty, null);