{"size": 642, "ext": "js", "max_stars_repo_path": "test/toDecimalMark/toDecimalMark.test.js", "max_stars_repo_name": "blyzer/30-seconds-of-code", "max_stars_repo_stars_event_min_datetime": "2021-02-17T21:10:00.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-17T21:10:00.000Z", "max_issues_repo_path": "test/toDecimalMark/toDecimalMark.test.js", "max_issues_repo_name": "liuderchi/30-seconds-of-code", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/toDecimalMark/toDecimalMark.test.js", "max_forks_repo_name": "liuderchi/30-seconds-of-code", "max_forks_repo_forks_event_min_datetime": "2019-07-21T22:31:33.000Z", "max_forks_repo_forks_event_max_datetime": "2019-07-21T22:31:33.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 45.8571428571, "max_line_length": 125, "alphanum_fraction": 0.707165109}
const test = require('tape');
const toDecimalMark = require('./toDecimalMark.js');

test('Testing toDecimalMark', (t) => {
	//For more information on all the methods supported by tape
	//Please go to https://github.com/substack/tape
	t.true(typeof toDecimalMark === 'function', 'toDecimalMark is a Function');
	t.equal(toDecimalMark(12305030388.9087), "12,305,030,388.909", "convert a float-point arithmetic to the Decimal mark form");
	//t.deepEqual(toDecimalMark(args..), 'Expected');
	//t.equal(toDecimalMark(args..), 'Expected');
	//t.false(toDecimalMark(args..), 'Expected');
	//t.throws(toDecimalMark(args..), 'Expected');
	t.end();
});