public static AssertIncludes ( string expected, string all ) : void | ||
expected | string | |
all | string | |
return | void |
public static void AssertIncludes(string expected, string all)
{
Assert.IsTrue(all.IndexOf(expected) >= 0, "Expected:\n" + all + "\nto include:\n" + expected);
}