private void RunApply(int a, UnaryOperator op, int expected) { Constant c1 = Constant.Word32(a); Constant c2 = op.ApplyConstant(c1); Assert.AreEqual(expected, (int)c2.ToInt64()); }