c# nunit initialize variables

109

c# nunit initialize variables -

[TestFixture]
public class MyTestClass
{
  	private int _x;
  
    [SetUp]
    public void Init() {
    	_x = 0;
    }

    // Tests omitted
}

Comments

Submit
0 Comments