{"size": 265, "ext": "js", "max_stars_repo_path": "test/descending-order.test.js", "max_stars_repo_name": "leeb48/stack-overflow-copy-paste", "max_stars_repo_stars_event_min_datetime": "2016-01-20T16:19:50.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-25T03:14:25.000Z", "max_issues_repo_path": "test/descending-order.test.js", "max_issues_repo_name": "leeb48/stack-overflow-copy-paste", "max_issues_repo_issues_event_min_datetime": "2016-01-23T06:40:45.000Z", "max_issues_repo_issues_event_max_datetime": "2019-02-19T23:03:34.000Z", "max_forks_repo_path": "test/descending-order.test.js", "max_forks_repo_name": "leeb48/stack-overflow-copy-paste", "max_forks_repo_forks_event_min_datetime": "2016-01-26T04:00:22.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-31T09:37:01.000Z"}
{"max_stars_count": 518, "max_issues_count": 246, "max_forks_count": 963, "avg_line_length": 22.0833333333, "max_line_length": 82, "alphanum_fraction": 0.6981132075}
import test from 'ava'
import {
  descendingOrder,
} from '../src'

test('Return a number which is the param re-arranged in descending order ', t => {
  const num = 213
  const expected = 321
  const actual = descendingOrder(num)
  t.deepEqual(actual, expected)
})
