public void Create_With_Rank_Correct(int rank) { var leftPart = LeftPartRow.GetRandom(rank); Assert.AreEqual(rank, leftPart.Value.Length); }
public void Create_With_Zero_Rank_Generate_Exception() { Assert.Throws <ArgumentOutOfRangeException>(() => LeftPartRow.GetRandom(0)); }