public void FindLast_Test_True_Int() { var list = new DoubleCircularLinkedList <int> { 1, 2, 3, 4, 2, 5 }; Assert.Equal(5, list.FindLast(2).Next.GetData()); }
public void FindLast_Test_Null_Int() { var list = new DoubleCircularLinkedList <int> { 1, 2, 3 }; Assert.Null(list.FindLast(4)); }