public void SplitToSimpleOperations_XEqu0fXYAndOr03AndffComp()
        {
            // Arrange
            // x = 0f | x & y ? 03 & ff
            var postfix = "0f x y & | 03 ff & ?";

            _converter = new A86Converter(postfix);
            var expected = new List <string>
            {
                "& x y",
                "| 0f NULL",
                "& 03 ff",
                "? NULL NULL" // TODO!!!
            };

            // Act
            var actual = _converter.SplitToSingleOperations(postfix);

            // Assert
            Assert.AreEqual(expected.Count, actual.Count);
            for (var i = 0; i < actual.Count; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }
        public void IsHex_5()
        {
            // Arrange
            const string token    = "5";
            const bool   expected = true;

            // Act
            var actual = A86Converter.IsHex(token);

            // Assert
            Assert.AreEqual(expected, actual);
        }
        public void SplitToSimpleOperations_0fXYAndOr()
        {
            // Arrange
            // x & y | 0f
            var postfix = "0f x y & |";

            _converter = new A86Converter(postfix);
            var expected = new List <string>
            {
                "& x y",
                "| 0f NULL"
            };

            // Act
            var actual = _converter.SplitToSingleOperations(postfix);

            // Assert
            Assert.AreEqual(expected.Count, actual.Count);
            for (var i = 0; i < actual.Count; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }