private static void TestTextBlocks(UlearnDriver driver, SlidePage page) { Assert.AreEqual(1, page.Blocks.Count); Assert.AreEqual("Параграф 1\r\nПараграф 2\r\nПараграф 3", ((SlidePageTextBlock)page.Blocks.First()).Text); }
private static void TestGoodTex(UlearnDriver driver, SlidePage page) { Assert.IsTrue(driver.TeX.All(x => x.IsRendered)); }
private static void TestExerciseSlidePage(UlearnDriver driver, SlidePage page) { return; }
private static void TestVideoBlock(UlearnDriver driver, SlidePage page) { Assert.IsTrue(page.Blocks.First() is SlidePageVideoBlock); Assert.AreEqual(1, page.Blocks.Count); }
private static void TestQuizSlidePage(UlearnDriver driver, SlidePage page) { return; }