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

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,


Describe to me the Software Development Life Cycle as you would define it.

7 Answers  


can u tell me how do we writetestcases for perfomance,load,And stress?

2 Answers   IBM, Wipro,


can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

0 Answers   HP, QSpiders,


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

1 Answers   ISTQB,


test cases for restaurant billing system????????

1 Answers   ABC,


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

0 Answers  


Tell me how to write a test case to test a search (general search engine ) function that is present on almost all sites.

2 Answers  


How to write test cases for the following scenario: The system shall limit the search result display to 200 records. Do we need to write test data for it. How do we create a test data for it.

0 Answers  


Hi My name is Hari Priya i had completed by b-tech csit 2008 pass out i had joined in testing tools does freshers having good opportunities in testing field? what are the topics to be stressed in the subject to have the good knowledge If any one have good collecton of testing topics can mail me padmajapriyam@gmail.com thank you.

19 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?

1 Answers  


test cases for login window

1 Answers  


Categories