Пример #1
0
 it("getCloneFunction", () => {
     let object = "Example";
     let typeName = Types.getTypeName(object);
     let cloneFunction = Types.getCloneFunction(typeName);
     let result = cloneFunction(object);
     chai.assert.equal(object, result);
 });
Пример #2
0
 it("getTypeName", () => {
     let result = Types.getTypeName("example");
     chai.assert.equal("String", result);
 });