예제 #1
0
        public void DefaultWeaponColors(WeaponId weaponId, string primaryColor, string secondaryColor)
        {
            var            rom           = new MegaMan2Rom(_romBytes);
            IWeaponOptions weaponOptions = rom.Weapons.GetWeaponOptions(weaponId);

            Assert.Equal(weaponId, weaponOptions.WeaponId);
            Assert.Equal(primaryColor, weaponOptions.PrimaryColor.Name);
            Assert.Equal(secondaryColor, weaponOptions.SecondaryColor.Name);
        }
예제 #2
0
        public void DefaultNamesAndLetterCodes(WeaponId weaponId, string name, char letterCode)
        {
            var            rom           = new MegaMan2Rom(_romBytes);
            IWeaponOptions weaponOptions = rom.Weapons.GetWeaponOptions(weaponId);

            Assert.Equal(weaponId, weaponOptions.WeaponId);
            Assert.Equal(name, weaponOptions.Name);
            Assert.Equal(letterCode, weaponOptions.LetterCode);
        }