Ejemplo n.º 1
0
        public void Parse()
        {
            string   content = File.ReadAllText("./test.srt");
            SrtBlock block   = new SrtBlock(content);

            Assert.Greater(block.Lines.Count(), 9);
        }
Ejemplo n.º 2
0
        public void ToString()
        {
            string   content = File.ReadAllText("./test.srt");
            SrtBlock block   = new SrtBlock(content);
            string   result  = block.ToString();

            Assert.Greater(result.ToLines().Length, 10);
        }