private Class1 c;
[TestFixtureSetUp]
public void Init()
{
c = new Class1();
Console.WriteLine("单元测试开始");
}
[TestFixtureTearDown]
public void Destory()
{
Console.WriteLine("销毁示例");
}
[SetUp]
public void SetUp()
{
Console.WriteLine("Setup");
}
[TearDown]
public void TearDown()
{
Console.WriteLine("TearDown");
}
[Test]
[Category("查询扩展集合操作")]
public void Test()
{
c.Test(5,6);
}