MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / test_json_export_report

Function test_json_export_report

tests/test_project_export.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25Error test_json_export_report(const Ref<ExportReport> &export_report) {
26 Error err = OK;
27 Dictionary json = export_report->to_json();
28 Ref<ExportReport> export_report2 = ExportReport::from_json(json);
29 CHECK(export_report->is_equal_to(export_report2));
30 return err;
31}
32
33String get_test_projects_path() {
34 return get_gdsdecomp_path().path_join("tests/test_projects");

Callers 1

test_export_projectFunction · 0.85

Calls 3

from_jsonFunction · 0.85
to_jsonMethod · 0.45
is_equal_toMethod · 0.45

Tested by

no test coverage detected