rabestro/automation-testing-mentoring

Сosine is calculated incorrectly

Closed this issue · 0 comments

Describe the bug
The calculator calculates cosine incorrectly for most input radians

To Reproduce
Steps to reproduce the behavior:

  1. create a new calculator
  2. call the tangent method
  3. See error

Expected behavior
Cosine calculated correctly for any input radians

** Actual result **
Cosine calculated incorrectly

Screenshots
image

Desktop:

  • OS: MacOS
  • Version 1.0

Additional context
Tests run with IntelliJ IDEA