示例#1
0
        public void energy_discharge_works_correctly()
        {
            var energy = Energy.Create(100).Build();

            energy.Discharge(10);

            Assert.True(energy.GetLoad() == 90);
        }
示例#2
0
        public void energy_has_energy()
        {
            var energy = Energy.Create(100).Build();

            Assert.True(energy.HasEnergy());
        }