public void Compare_Work_Correct(string firstValue, string secondValue, int result) { var row1 = new RightPartRow(firstValue); var row2 = new RightPartRow(secondValue); Assert.AreEqual(result, row1.CompareTo(row2)); }
public void Created_Lenght_Correct(int lenght) { var rowPart = RightPartRow.GetRandom(lenght); Assert.AreEqual(lenght, rowPart.Value.Length); }