Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

how to write test cases for testing databases,especially for testing and writing test cases for stored procedures.any real time database testers.please answer me. some real time database tester please answer my question as soon as possible.my need is such that. else mail answer at ina.ref@gmail.com

1 Answers  


pls i want test cases for telecom billing system

4 Answers  


Write a test case for a chair to check whether it will last for next 10 years and check the quality of the chair and it’s durability.

4 Answers  


write down test cases for "x>=1"

6 Answers   Quexst,


How to write the test cases for STP

0 Answers  


Suppose that you're running tests on windows calculator and find that 1+1=3, 2+2=4, 3+3=7, 4+4=8, 5+5=11, 6+6=12. write a bug title and bug description that effectively describes this problem.

4 Answers   Manhattan,


write test case for white board marker.

5 Answers   Adobe,


How to write test cases ?

5 Answers  


test case for digital camera

2 Answers  


to write test cases for fuel guage?

1 Answers  


Can anybody tell test cases for the following condition? In a railway reservation form, 4 types of ticket ranges are there like a) age up to 3, NO TICKET. b) age up to 7, HALF TICKET. c) age up to 60, FULL TICKET. d) age from 61, SENIOR CITIZEN QUOTA. if you enter age into the text box the relevant message should be displayed..... Eg. FULL TICKET.

3 Answers  


What is use case testing?

0 Answers  


Categories