Exemple #1
0
 public void BubbleSortTest_AcceptsEmptyArray_ThrowsException(int[][] array)
 {
     Assert.Throws <ArgumentNullException>(() => SortArray.BubbleSort(array, new SortAscendingByMaxElemRow()));
 }
        // POST api/<controller>
        public string Post([FromBody] SortArray req)
        {
            var response = SortArray.ProcessRequest(req);

            return(response);
        }