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
can one give the test cases for Installation Testing
hoe to write test cases for the below field --------------- --------------- browse upload
plz explain vss?
what are the inputs required for writing test cases
How to test Webservices and how can we write test cases for that
Who will take care of test plan and test case?
write test cases for whatsapp messaging..?
1 Answers IBM, Stag Computers,
Create Test Cases based on Software Testing Principles Write the Test Cases to validate Command Line utility - ‘MAX’. The utility displays the maximum of the 2 specified Integers. Please note down any assumptions that you make. e.g. MAX 2 3
This question is regarding MC/DC coverage (A and B) or (B and C) or (A and C) ? how many conditions are there in above expression? what are the test cases for statement, decision, condition, MC/DC and multiple condition overage explain in deatil why ?
explain with examples- transaction testing, syntax testing, domain testing, logic testing, and state testing.
How to write test case for this scenario. The system shall allow the user to select an option to sort the results by the city of the family contact
what is run time object
4 Answers Infinite Computer Solutions,