File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

test scenarios

 
akshitha Akki
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is a code doing the following,

To find the shortest distance from Location A to Location B taking the low traffic as well as a constraint,

what are the test scenarios that can be implemented to check that the code works correctly?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like homework or an interview question. What test scenarios can you think of?
 
akshitha Akki
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could not control myself from posting this question, I thought of getting an hint on solving the problem.

At the first thought it gave me idea to remember about the algorithms that can be used to find the shortest path between 2 points. So basically it should be something similar to testing any algorithms.But I was unable to get a start on that part.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The hint is to start. Surely you can think of one scenario.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic