{"size": 535, "ext": "js", "max_stars_repo_path": "__tests__/units/photometry/luminance/Metric.js", "max_stars_repo_name": "Eldelshell/flowsnake", "max_stars_repo_stars_event_min_datetime": "2019-05-07T12:47:48.000Z", "max_stars_repo_stars_event_max_datetime": "2019-05-07T12:47:48.000Z", "max_issues_repo_path": "__tests__/units/photometry/luminance/Metric.js", "max_issues_repo_name": "Eldelshell/flowsnake", "max_issues_repo_issues_event_min_datetime": "2018-01-26T09:17:39.000Z", "max_issues_repo_issues_event_max_datetime": "2018-02-08T13:51:38.000Z", "max_forks_repo_path": "__tests__/units/photometry/luminance/Metric.js", "max_forks_repo_name": "Eldelshell/flowsnake", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 9, "max_forks_count": null, "avg_line_length": 33.4375, "max_line_length": 85, "alphanum_fraction": 0.5121495327}
import _ from 'lodash';
import Luminance from '../../../../lib/units/photometry/luminance/Luminance';
import TestCase from '../../TestCase';

const tests = [{
    from: 'cd/m2', to: 'nt', values: [{ a: 0, b: 0 }, { a: 550.67, b: 550.67 }]
},{
    from: 'cd/m2', to: 'sb', values: [{ a: 0, b: 0 }, { a: 550.67, b: 0.055067 }]
},{
    from: 'cd/m2', to: 'L', values: [{ a: 0, b: 0 }, { a: 550.67, b: 0.17 }]
},{
    from: 'cd/m2', to: 'lm/m2/sr', values: [{ a: 0, b: 0 }, { a: 550.67, b: 550.67 }]
}];

TestCase.units(Luminance, tests);
