Пример #1
0
 def test_highest_offer(self):
     ob.create_bid(1, 1, next_year)
     bid2 = ob.create_bid(2, 1, next_year)
     highest_offer = ob.highest_offer(ob.offers)
     assert_equal(highest_offer, bid2)
 def test_highest_offer(self):
     ob.create_bid(1, 1, next_year)
     bid2 = ob.create_bid(2, 1, next_year)
     highest_offer = ob.highest_offer(ob.offers)
     assert_equal(highest_offer, bid2)
Пример #3
0
 def test_highest_offer_empty(self):
     highest_offer = ob.highest_offer([])
     assert_is_none(highest_offer)
 def test_highest_offer_empty(self):
     highest_offer = ob.highest_offer([])
     assert_is_none(highest_offer)