예제 #1
0
        public void OneMemberAlliance()
        {
            var alliance = new AllianceHelp();

            Assert.Equal(40, alliance.allianceHelp(100, 1));
        }
예제 #2
0
        public void ROunding()
        {
            var alliance = new AllianceHelp();

            Assert.Equal(9, alliance.allianceHelp(999, 11));
        }
예제 #3
0
        public void InstantBuild()
        {
            var alliance = new AllianceHelp();

            Assert.Equal(0, alliance.allianceHelp(1000, 10));
        }