public void Test_Const() { var node = new ConstantNode <long> (123L); var map = TileFactoryTestUtils.createMapping(); var instructions = TileFactory.ConstTile <long>().Cover(node); TileFactoryTestUtils.updateMapping(instructions, map); var got = TileFactoryTestUtils.getASM(instructions, map); var expected = "mov " + TileFactoryTestUtils.SPECIAL + ", 123\n"; Assert.AreEqual(expected, got); }