This repository has been archived by the owner on May 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow degenerate case in rhombus creation
Summary: In `areas_of_trapezoids_rhombi_and_kites`, if the random values were drawn such that `SH == -B2`, then the rhombus would be constructed in a way such that there wasn't room for the right angle sign, leading to a JavaScript error. On mobile, this made such exercises uncompletable. Test Plan: - Run `python -m SimpleHTTPServer`. - Navigate to `areas_of_trapezoids_rhombi_and_kites`. - Load a bunch of times; verify that things are sane and that there are no errors. Reviewers: emily Reviewed By: emily Subscribers: jared, #ios Differential Revision: https://phabricator.khanacademy.org/D25841
- Loading branch information