how to write test cases for fibonacii series
Answers were Sorted based on User's Feedback
Answer / shubhi
Minimum 3Test cases are required to test fibonncai series:
1.)Negative TC: In which enter neg value in series, it
should not accept neg value and should return alert/msg.
2.)For zero:Enter 0 in series. It should return zero.
3.)For any positive value: Enter any positive value.
Let i entered n then it's output should be. F(n-1)+F(n-2).
These are few testcase which i think is good to test
Fibonacci series.
Pls correct me if i m wrong..
Thanks..
| Is This Answer Correct ? | 23 Yes | 5 No |
Answer / vamshi kumar
1.When an zero is entered it should return a zero.
2.When a negative integer is entered it should not accept the value and should return an error msg.
3.When a positive value is entered then it should return the output.
Let i entered n then its output should be. F(n-1)+F(n-2).
| Is This Answer Correct ? | 10 Yes | 3 No |
Functional and Integration test scenarios for actitime application
what is Beta testing??
Which website will help me to get all manual interview questions at one place
specify another matrix/table used for same functionality as of tracibility matrix?
are you ready to work on new domain but you dont have any body to take help or suggestion (seniors).you are the initiator?how will you work in such cases?
Why do we write test cases?
What is Rekey Defect?
What is mean by Defect Injection?,Tell me in brife
What is good code?
1. what is SDLC and TDLC ?
What is meant by back-end testing?
What is "BRS". Plz Explain whats the content in BRS" Diff between BRS,SRS,FRS?
12 Answers BoA, PAF,