sunjay / turtle

Create Animated Drawings in Rust
http://turtle.rs
Mozilla Public License 2.0
562 stars 53 forks source link

Add remaining color methods #76

Closed stevepentland closed 6 years ago

stevepentland commented 6 years ago

Done in relation to #59. Also contains changes from #74 but can wait until that one merges to be reviewed.

This adds the following Color:

It also defines a macro to assert a color is valid, as most methods accepting self were not checking for this and adds more tests.

sunjay commented 6 years ago

Thanks @stevepentland! I should have a chance to look at this and your other PR this weekend. :smile:

sunjay commented 6 years ago

All your documentation is excellent and I really appreciate it. Your tests and implementation are exactly what I want as well. Great work! Thank you!

sunjay commented 6 years ago

This will be merged as soon as the build finishes.

sunjay commented 6 years ago

Oops I accidentally merged it before that finished. Oh well! Thanks!