namespace TestBI
{
[TestFixture]
class ClassChild:ClassParent
{
public ClassChild(DataRow row, string name): base(row, detail) { }
[Test]
public void Test()
{
DataRow dr = new DataRow();
dr[0] = 1;
dr[1] = "ram"
ClassChild ch = new ClassChild(dr,"student");
:
:
:
Assert.AreEqual(string1,string2);
}
}
}
当我运行测试时,我收到一个错误,因为“找到了 TestBI.ChildClass.Test 合适的构造函数”
我如何需要在这里将参数传递给子类?