Explain the difference between boundary value analysis and equivalence partitioning with a real-world example.