summaryrefslogtreecommitdiff
path: root/spec/visible_points_spec.rb
AgeCommit message (Expand)Author
2017-05-24remove previous solution.mo
2017-05-24use two pointers to walk the list once.mo
2017-05-23remove other solutions.mo
2017-05-23mkake viewing_angle an optional parameter.mo
2017-05-23add failing spec that tests 360 -> 0 degree boundary.mo
2017-05-23ensure each positive angle can be calculated.mo
2017-05-23add spec for multiple angles.mo
2017-05-23implement amortized analysis method.mo
2017-05-23convert all coordinates to angles.mo
2017-05-20pass top and bottom params instead of hash.mo
2017-05-20replace class with hash.mo
2017-05-20collapse conditionals and rename method.mo
2017-05-20remove dead code.mo
2017-05-20solve all tests.mo
2017-05-20use absolute values and add degrees for each quadrant.mo
2017-05-20add more test cases.mo
2017-05-20get two tests passing.mo
2017-05-20calculate angles.mo
2017-05-19add visible points.mo