Microsoft Interview Question

How would you test a stack of variable Max size?