{"size": 583, "ext": "js", "max_stars_repo_path": "test/source/class/bom/Text.js", "max_stars_repo_name": "stefankolb/work-core", "max_stars_repo_stars_event_min_datetime": "2015-05-11T11:43:55.000Z", "max_stars_repo_stars_event_max_datetime": "2018-07-12T18:01:22.000Z", "max_issues_repo_path": "test/source/class/bom/Text.js", "max_issues_repo_name": "stefankolb/work-core", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/source/class/bom/Text.js", "max_forks_repo_name": "stefankolb/work-core", "max_forks_repo_forks_event_min_datetime": "2021-01-04T10:46:34.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-04T10:46:34.000Z"}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 38.8666666667, "max_line_length": 98, "alphanum_fraction": 0.6843910806}
if (jasy.Env.isSet("runtime", "browser"))
{
  var suite = new core.testrunner.Suite("BOM/Text");

  suite.test("Basics", function() 
  {
    this.isIdentical(typeof core.bom.Text.measure("hello world"), "object");
    this.isIdentical(typeof core.bom.Text.measure("hello world").width, "number");
    this.isIdentical(typeof core.bom.Text.measure("hello world").height, "number");

    this.isIdentical(typeof core.bom.Text.measure("hello world foo bar baz", null, 40), "object");
    this.isIdentical(core.bom.Text.measure("hello world foo bar baz", null, 40).width, 40);
  });
}
  