Add lld-parking-lot module: thread-safe parking lot with Strategy, Observer and CAS-based spot claiming, 10 tests incl. 64-thread race
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
PASS truckIsRejectedWhenOnlyMediumSpotsAreFree
|
||||
PASS listenersSeeEveryChange
|
||||
PASS samePlateCannotBeInsideTwice
|
||||
PASS bestFitKeepsLargeSpotsFreeForTrucks
|
||||
PASS concurrentDuplicatePlateAdmitsExactlyOne
|
||||
PASS failedParkDoesNotLeaveThePlateReserved
|
||||
PASS nearestFirstTakesTheFirstFreeSpotThatFits
|
||||
PASS feeRoundsPartialHoursUpAndHasAGracePeriod
|
||||
PASS concurrentParkingNeverDoubleBooksASpot
|
||||
PASS exitFreesTheSpotAndTheTicketIsSingleUse
|
||||
10 tests, 0 failures
|
||||
Reference in New Issue
Block a user