Fix bug #884 in TimeEnvelope of samples/led-more-blinking-lights (#990)
- the method IsLastMultiple(int value) did not use _count to correctly decide when the value is last multiple. - simplified all methods returning bool, instead of returning true/false, it returns directly result of if check. - it was tested against code snippet included in the bug description to test expected behavior.
Showing
想要评论请 注册 或 登录