Adapt test suite for checking single query input

The sort_goodie test suite does not contain test cases to
check for single input (number) queries. It would be necessary
to add test cases to check for such situations.

* added test case to check for single input (number) query

See also: #3144
master
NaveenKarippai 2016-05-29 16:16:31 +00:00
parent b9e8d190c4
commit c73560028d
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ ddg_goodie_test(
'sort -3 -10 56 10' => build_test('-3, -10, 56, 10','ascendingly', '-10, -3, 10, 56'),
'sort descending 10, -1, +5.3, -95, 1' => build_test('10, -1, 5.3, -95, 1', 'descendingly', '10, 5.3, 1, -1, -95'),
'sort descending 10, -1, +5.3, -95, 1, 1e2' => build_test('10, -1, 5.3, -95, 1, 100', 'descendingly', '100, 10, 5.3, 1, -1, -95'),
'sort 1' => undef,
'sort 455' => undef,
'sort algorithm' => undef,
'sort 1 fish, 2 fish' => undef,
'sort' => undef,