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
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
pls i want test cases for telecom billing system
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.
write down test cases for "x>=1"
How to write the test cases for STP
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.
write test case for white board marker.
How to write test cases ?
test case for digital camera
to write test cases for fuel guage?
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.
What is use case testing?