Esempio n. 1
0
 public void GetBikeId(Bike bike)
 {
     id = bike.id;
 }
Esempio n. 2
0
 public DockingStation(int capacity)
 {
     BikeStore   = new Bike[capacity];
     BikeLogItem = new BikeLogItem();
 }
 public void Dock(Bike bike)
 {
     bikes.Add(bike);
 }
 public void Release(Bike bike)
 {
     bikes.Remove(bike);
 }
Esempio n. 5
0
        public void Should_Have_WorkingStatus()
        {
            var bike = new Bike();

            Assert.That(bike.Working, Is.True);
        }