AmazonSoftware Engineer · Technical ScreenCodemia practiceWrite Property-Based Tests for an Amazon Cart Total Calculator
Given a function that computes a cart total from line items, a percentage coupon, and a tax rate in integer cents, write property-based tests that would catch rounding, ordering, and discount bugs that example-based tests miss.
Medium
Software Engineering Fundamentals