Roads concatenation Problem
Consider we have some GIS (Geo Information System) operating
over some road network. Each road represented as array of
two-dimensional geographical points. Road network is a set
of roads.
System has function called Concatenate(). This function
takes raw road network and should return optimized road
network. Optimization lies in concatenating roads with
matching start or end points, i.e. if road AB end point
matches road BC start point, then optimized network should
contain concatenated road AC. Optimized network shouldn’t
contain two roads which can be concatenated.
Your task is to suggest set of test cases for Concatenate()
function in order to make sure it works correctly.
public interface IPoint
{
double Lat { get; }
double Lon { get; }
}
public Road : List<IPoint>
{
}
public RoadNetwork : List<Road>
{
}
public RoadNetwork Concatenate(RoadNetwork roads);
No Answer is Posted For this Question
Be the First to Post Answer
how do u knw when to stop writing test case for a given project.
How to generate test cases for 'replace a string' method?
Consider the following: Pick up and read the newspaper Look at what is on television If there is a program that you are interested in watching then switch the the television on and watch the program Otherwise Continue reading the newspaper If there is a crossword in the newspaper then try and complete the crossword A. SC = 1 and DC = 1 B. SC = 1 and DC = 2 C. SC = 1 and DC = 3 D. SC = 2 and DC = 2 E. SC = 2 and DC = 3
Smoke Test Checklist for Gmail please someone help!
what are the testcases for square
what is the process of testing
write the test cases for date month and year field by using testing techniques
19 Answers Aryavrat Infotech, Blue Star,
Write a test case for computer keyboard?
HI i'm Ramu new join as manual tester plz send me test cases for web application testing i need basic idea's
What is the Difference between Testing Types and Testing Techniques
what is self cleaning of test cases and repeatability and usability of test cases?what is the difference in repeatability and usability
Have any idea how to prepare test cases for medical claim, Online mobile recharge.