Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Correctly avoid unanswerable questions :(
Browse files Browse the repository at this point in the history
Test plan:
http://localhost:8000/exercises/powers_of_complex_numbers_1.html?debug&problem=0&seed=180
http://localhost:8000/exercises/powers_of_complex_numbers_1.html?seed=193&problem=0&debug

fix #42619; fix #42614; fix #42612; fix #42609; fix #42608; fix #42606;
fix #42598; fix #42562; fix #42561; fix #42554; fix #42532; fix #42530;
fix #42524; fix #42508; fix #42501; fix #42492; fix #42489

Auditors: alpert
  • Loading branch information
beneater committed Mar 9, 2013
1 parent c170b29 commit 15ef0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/powers_of_complex_numbers_1.html
Expand Up @@ -21,7 +21,7 @@
</head> </head>
<body> <body>
<div class="exercise"> <div class="exercise">
<div class="vars" data-ensure="!(BASE_ANGLE === 0 && BASE_RADIUS === 1)"> <div class="vars" data-ensure="!(ANSWER_ANGLE === 0 && ANSWER_RADIUS === 1)">
<var id="DENOMINATOR">24</var> <var id="DENOMINATOR">24</var>
<var id="BASE_ANGLE_NUMERATOR">randRange( 0, DENOMINATOR - 1 )</var> <var id="BASE_ANGLE_NUMERATOR">randRange( 0, DENOMINATOR - 1 )</var>
<var id="BASE_ANGLE">BASE_ANGLE_NUMERATOR / DENOMINATOR * 2 * PI</var> <var id="BASE_ANGLE">BASE_ANGLE_NUMERATOR / DENOMINATOR * 2 * PI</var>
Expand Down

0 comments on commit 15ef0f5

Please sign in to comment.