title: Unit testing-Sort Array
body: <p>I have a method that sorts an array of numbers in ascending order and I want to test this method. I created two unit tests, one that loops through all the elements and asserts that the current element is less than the one coming after, and another method that asserts that the sorted array has the same elements as another sorted array I create myself. </p>
  
  <p>Is there any other way to test this method or those two are fine?</p>
  
  <p>I am working with java</p>