Skip to content

Trigonometric Functions such as sin, cos and tan are implemented by using the Taylor series and tested using J Unit in this project.

Notifications You must be signed in to change notification settings

yashpatel2911/trigonometric-junit-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Trigonometric Functions and its Testing by Group 6.

Trigonometric Functions such as sin, cos and tan are implemented by using taylor serise and tested using JUnit in this project.

Functions Included

  1. sin function
  2. cos function
  3. tan function

Test Cases

  1. Calculating accurate value in radian
  2. Checking other functionalities such as Power and Factorial
  3. Calculating accurate value in degree
  4. Normalizing radian value between 0 to 2 pi.

Description of Test Cases

Test Case 1:

  1. Checking accuracy of Trigonometric Functions
  • First test case is to check whether the value which is generated by sin, cos and tan is accurate or not.

Test1

Test Case 2:

  1. Checking other functionalities
  • Second Test case is used for checking other supporting functionalities such as Power and Factorial which are cruial to count term in taylor serise.

Test2

Test Case 3:

  1. Checking accuracy of Trigonometric Fucntions in Degree
  • Third Test case is used for whether the functions are converting degree inputs to trigonometric values. For, that We converted degree to radian value.

Test3

Test Case 4:

  1. Normalizing radian value between 0 to 2 pi.
  • Forth Test case is used for normalizing any value to 0 to 2 pi. ex. 60 radian.

Test4

About

Trigonometric Functions such as sin, cos and tan are implemented by using the Taylor series and tested using J Unit in this project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages