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

Hi, I am doing project related to Online order Booking. In this project different products will be there. The user can order the product to different location by giving different shipping Addresses. By selection of Address shipping price will be calculate. My Question: Now the shipping related part they are integrating with UPS(www.ups.com) Depending on the From Zip code, To Zip cobe and Quantity weight the shipping price will be calculated. I want test scenarios to test the shipping part. I think ASAP u will help me. My mail id srinivasukona@gmail.com

1 Answers  


In any Hyderabd institute you can find these word commomly used by faculties ... Yes or no / Right or wrong so funny...

0 Answers  


test cases on Fan

13 Answers   TCS,


can anyone send me a copy of a business requirement and test cases attributed to such requirent. thank u

0 Answers  


please test case for calculator

2 Answers  






This part of a program is given: WHILE (condition A) Do B END WHILE How many decisions should be tested in this code in order to achieve 100% decision coverage? A. 2 B. Indefinite C. 1 D. 4

1 Answers   ISTQB,


How about do we go as far as writing test cases is considered?

1 Answers  


Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?

0 Answers  


wirte the test cases for triangle by using testing techniques

8 Answers   Blue Star, George Mason, HP,


In a log in page what will be test procedure,test scenario,test discription & test steps?

1 Answers  


write down test cases for "x>=1"

6 Answers   Quexst,


Some test case for mambo cms (only basically: graphic, function...) Thanks for answer.

0 Answers   Cognizant,


Categories