public void H48CRegExpTestWithNegativeValuesTest() { var match = "VREF=2049X=-12Y=-6Z=462ThetaA=205ThetaB=91ThetaC=359 \r"; H48CFrame frame = new H48CFrame(); UTF8Encoding encoder = new UTF8Encoding(); var buffer = encoder.GetBytes(match); Assert.IsTrue(frame.IsFrameType(buffer)); }
public void H48CRegExpMatchTest() { string match = "VREF=123X=111Y=12Z=345ThetaA=11ThetaB=33ThetaC=505 \r"; H48CFrame frame = new H48CFrame(); UTF8Encoding encoder = new UTF8Encoding(); var buffer = encoder.GetBytes(match); Assert.IsTrue(frame.IsFrameType(buffer)); }