fast-check @fast-check.dev · Dec 15

🎄 Day 15: Santa’s Shelf Shenanigans! 🎅 Santa replaced his trusty conveyor belts with a new shelf system—but something’s not quite right. Can you uncover the edge cases in how toys are placed and retrieved? Christmas depends on your testing skills! 🛠️✨ 👉 fast-check.dev/blog/2024/12...

2 likes 2 replies

?

Replies

fast-check · Dec 15

This one is for @davidkpiano.bsky.social, or at least it has been designed with Model Based Testing in mind 😊

Nicolas Dubien · Dec 20

Fun fact my broken implementation of the shelf sysrtem was even more broken than what I though. It was initially not popping from the right place. I fixed it and released a patched version of it. Previously passed values should still pass. Here is my solution: github.com/dubzzz/adven...