How do you differentiate between boundary value analysis and equivalence partitioning? Provide a practical example of both.