public void MaxFunctionThrows()
        {
            Function func = new MaxFunction().Max;

            MeVariable[] input = { new MeString("test"), new MeNumber(55), new MeNumber(30) };
            Assert.IsFalse(func.CanExecute(input));
            TestUtils.CustomExceptionTest(() => func.Execute(input), typeof(MeContextException));
        }
        public void MaxFunctionCanExecute()
        {
            Function func     = new MaxFunction().Max;
            float    expected = 100.0f;

            MeVariable[] input = { new MeNumber(14), new MeNumber(55), new MeNumber(expected) };
            Assert.IsTrue(func.CanExecute(input));
            float result = func.Execute(input).Get <float>();

            Assert.AreEqual(expected, result);
        }