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

Post New Answer

More Test Cases Interview Questions

Describe to me what you see as a process. Not a particular process, just the basics of having a process.

1 Answers  


Write tast case for a+b=c?

1 Answers  


Explain the concept of semi-random test cases?

0 Answers  


Hi.........can any one tell me the basic format for writing test cases

13 Answers  


i was asked to generate test data for a equlateral triangle,please any one explain how to do & what are the process.

5 Answers   AZTEC,






in any software company how we got the srs document.how we get it is it available in version control or in mannual we get the document

7 Answers   AppLabs, Pinsoftek Infosolutions, TCS,


can someone tell me the test cases for following scenario of password: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consists of 1 uppercase letter. 3. Password should consists of 1 numeric. 4. Password should consists of 1 special character.

2 Answers  


What is the difference between Test Input and Test Data??

2 Answers  


anybody can send cross site scripting test cases pls...

0 Answers  


If I wrote test cases for Login Window with test case Name Login window & test case id L_01.Now if Name of Login window get changed in the next version.then May I have to change the Test case name & Test case id OR HAVE TO block the previous test case and write the new one

0 Answers  


Can test case contains more than 50 steps in single test case?

4 Answers  


What is the difference between System testing and System Integration testing?

4 Answers   Infosys,


Categories