{"size": 337, "ext": "js", "max_stars_repo_path": "test/MaxProductOfThree.specs.js", "max_stars_repo_name": "djimenezc/codility_training", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/MaxProductOfThree.specs.js", "max_issues_repo_name": "djimenezc/codility_training", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/MaxProductOfThree.specs.js", "max_forks_repo_name": "djimenezc/codility_training", "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": 22.4666666667, "max_line_length": 50, "alphanum_fraction": 0.5489614243}
import {expect} from 'chai';
import {solution} from "../src/MaxProductOfThree";

describe('MaxProductOfThree tests', () => {
  it('true', () => {
    const result = solution([-3, 1, 2, -2, 5, 6])
    expect(result).to.eql(60);
  });
  it('true', () => {
    const result = solution([-3, 1, 4])
    expect(result).to.eql(-12);
  });

});
