NVIDIA interview question

How to verify a fifo?