public void AdjustGapsTest() { var stubDic = new Dictionary <string, string>(); var stubList = new List <int>(); int result = DurationsBridgeGaps.BridgeGaps(GetSubtitle(), 24, true, 100, stubList, stubDic, false); Assert.AreNotEqual(0, result); // expedtec to contains both p and p + 1 index of adjusted paragraph Assert.AreEqual(6, stubList.Count); // expected to contains only index of adjusted paragraph Assert.AreEqual(3, stubDic.Count); }
public void InvalidMinMaxTest() { Assert.AreEqual(0, DurationsBridgeGaps.BridgeGaps(GetSubtitle(), 1000, true, 10, null, null, false)); }