Ejemplo n.º 1
0
        [Fact] public void CorrectlyCreatesNamespace()
        {
            var actual   = TypeScript.ToInterfaces(GetNamespace());
            var expected = "namespace Films {\n    interface GetMyFilm {\r\n        film_id: number\n        description?: string\n        length?: number\r\n    }\n}";

            Assert.Equal(expected, actual);
        }