Increasing Decreasing Test Case 1,2

you have consider only two case either increasing like 1 2 3 4 5
or only decreasing 5 4 3 2 1
but for 5 4 3 13 24 45 it is also true
first dec then inc