public void TestRMEncoding( [Values(123, ParserAction.Value1Max, 0, 1)] int value1, [Values(123, 1, 2, ParserAction.Value2Max, 0, 1)] short value2) { int cell = ParserAction.EncodeModifedReduce(value1, value2); var output = ParserAction.Decode(cell); Assert.IsNotNull(output); Assert.AreEqual(ParserActionKind.Reduce, output.Kind); Assert.AreEqual(value1, output.ProductionId); Assert.AreEqual(value2, output.Size); }