{"size": 275, "ext": "js", "max_stars_repo_path": "problems/problem-0030/problem-0030.spec.js", "max_stars_repo_name": "bkaid/project-euler", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "problems/problem-0030/problem-0030.spec.js", "max_issues_repo_name": "bkaid/project-euler", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "problems/problem-0030/problem-0030.spec.js", "max_forks_repo_name": "bkaid/project-euler", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.5555555556, "max_line_length": 109, "alphanum_fraction": 0.6763636364}
'use strict';
const problem30 = require('./problem-0030');

describe('digitNthPowerSum', () => {
  it('sums all numbers that can be written as the sum of nth powers of their digits for known input', () => {
    expect(problem30.digitNthPowerSum(4)).toEqual(19316);
  });
});
