Exemple #1
0
        public void ThumbDecompilerTests(int input, string output)
        {
            var bytes  = new[] { (byte)input, (byte)(input >> 8) };
            var model  = new PokemonModel(bytes);
            var result = parser.Parse(model, 0, 2).Split(Environment.NewLine)[1].Trim();

            Assert.Equal(output, result);
        }