コード例 #1
0
        public void Should_BeAbleTo_GetId()
        {
            var bike    = new Bike();
            var bikelog = new BikeLogItem();

            var id = bike.id;

            bikelog.GetBikeId(bike);

            Assert.That(bikelog.id, Is.EqualTo(id));
        }
コード例 #2
0
 public DockingStation(int capacity)
 {
     BikeStore   = new Bike[capacity];
     BikeLogItem = new BikeLogItem();
 }