Incorrect Sample output for Increasing Decreasing Sequence Pattern

How is the sample output for the given input coming as true? Since it is a strictly increeasing sequence,i .e., 1 2 3 4 5, how can it be divided into two: one increasing-one decreasing? It should be false.