Skip to content

Instantly share code, notes, and snippets.

@plioi
Last active December 24, 2015 18:49
Show Gist options
  • Save plioi/6846271 to your computer and use it in GitHub Desktop.
Save plioi/6846271 to your computer and use it in GitHub Desktop.
public class ParameterizedTests
{
public void TestWithNoParameters()
{
Console.WriteLine("TestWithNoParameters");
Console.WriteLine();
}
public void TestWithTrivialParameters(int i, bool b)
{
Console.WriteLine("TestWithTrivialParameters");
Console.WriteLine(" i: " + i);
Console.WriteLine(" b: " + b);
Console.WriteLine();
}
public void TestWithInterestingParameters(Person personA, Person personB)
{
Console.WriteLine("TestWithInterestingParameters");
Console.WriteLine(" Person A: " + personA);
Console.WriteLine(" Person B: " + personB);
Console.WriteLine();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment