public void GetCutListTest() { string text = "Here's a line before it" + Environment.NewLine + "Test B 0001 remains standing while the trainer wipes him down. He has his left eye badly swollen. He has a fractured nose." + Environment.NewLine + "Here's a line after"; CutList c = WeblParser.GetCutList("Test B 0001", text); Assert.AreEqual(2, c.Count); Assert.IsTrue(c.Count(d => d.Type == CutType.SwellLeft && d.Level == CutSeverity.Medium) == 1); Assert.IsTrue(c.Count(d => d.Type == CutType.InjuredNose && d.Level == CutSeverity.Medium) == 1); }