hi,
i wanted to know how to i test a metho as below
int32[] AT;
int32AB,ab;
int32[] at;
public void A()
{
AT = at;
AB = ab;
return;
}
is this correct
public void SetStaticTest1()
{
Int32[] AT ;
Int32[] at = {1,2,3,4,5};
Int32 AB ;
Int32 ab = 4;
AT = at;
AB = ab;
Assert.Equals(AT,at);
Assert.Equals(AB, ab);
}
this gives an fail in test
can some one give me the way to do testint in C#
thanks