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 can we write a good test case?

0 Answers  


How to write test cases for lift?

0 Answers  


How to write simple test cases?

3 Answers  


Can any1 tell me how to do and Integration test design and test cases for Order Inventory system for use cases. ALso how is that going to differ from System Testing. The system is similar to amazon.com online ordering system and you can place order by calling customer call center.

0 Answers  


write a test case for triangle?

3 Answers   HCL,


What are the different check points for SIT and UAT while testing an Internet Banking application. Consider any one functionality of Internet Banking

0 Answers  


Circle any inconsistencies in the following text: User Story 3005 - Dave wishes to talk to Fred using a radio. Business Requirements: 1. Dave needs the ability to put a line into select. 2. Dave receives a visual color and text indication that the line is selected (picked up). a. Default indication will be that the pad turns red and the text ‘Select’ appears as the 3rd line of text. 3. David hears audio from a selected line in his defined audio path. 4. Dave uses Push-To-Talk to talk to Fred. 5. Dave receives a visual color and text indication that the line has been de-selected (hung up). • The default inactive state is a white pad with no text on the 2nd line. 6. Multiple Freds can select the same radio. 8. If a radio is selected while another radio is already selected, then the first phone is automatically deselected.

0 Answers  


write a test case flipkart login page

0 Answers  


pliz anyone give suggest me the test cases for shorting numbers in asc/desc order.

4 Answers   IBM,


what is difference between repeatable and reusable test case?and what is self cleaning test cases?

3 Answers  


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  


test cases for friend finder system using gps?

0 Answers  


Categories