/* tslint:disable */ // todo: redo tests //import * as assert from "assert"; //import {getInfoFromString} from "./../../../main"; //const code = //`interface SimpleInterface { //} //interface MyInterface { // myString: string; // mySecond: number; // myMethod(): void; // myMethodWithTypeParameter(): void; // myMethod2(): string; // myMethod2(str?: string): string; //} //interface NewSignatureInterface { // new(str: string, t: T): string; // new(any: any): string; //} //interface CallSignatureInterface { // (str: string, t: T): string; // (num: number): number; // (any: any): any; //} //interface IndexSignatureInterface { // readonly [str: string]: Date; // [num: number]: Date; //} //interface MyTypeParameterInterface { //} //interface MyExtenedInterface extends MyTypeParameterInterface { //} //interface MyMultipleExtenedInterface extends MyTypeParameterInterface, MyInterface { //} //`; //describe("InterfaceDefinition", () => { // const file = getInfoFromString(code); // describe("write()", () => { // it("should have the same output as the input", () => { // assert.equal(file.write(), code); // }); // it("should write when calling it on the interface", () => { // const expectedCode = //`interface SimpleInterface { //} //`; // assert.equal(file.interfaces[0].write(), expectedCode); // }); // }); //});