public void FixSentences_NoFixing() { var service = new UdpRepairService(_dbCache); var payload = service.FixPayload(_inputNoFixingNeeded); Assert.IsNotNull(payload); Assert.AreEqual(1, payload.Length); Assert.IsTrue(payload[0].ContainsSubArray(_inputNoFixingNeeded)); }
public void FixSentences_PANSSYWrong() { var service = new UdpRepairService(_dbCache); var payloadFixed = service.FixPayload(_inputWrongPANSSY); Assert.IsNotNull(payloadFixed); Assert.AreEqual(1, payloadFixed.Length); Assert.IsTrue(payloadFixed[0].ContainsSubArray(_inputOk)); }