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
"search"test cases on Linkedin website and how will you write test cases on it?
what is not present in the test case? 1>requirment ID 2>test case ID 3>bug ID 4>objective
in test case we would write log and login ?what is the dif bet both of them
Write test cases for bulb.
Explain the syntax testing?
What is the basis on which you can check a text box in a web page or application?
3 Answers HCL, IBM, R Systems,
What is the correct answer of basic types of test cases ?
Scenarios to test wireless Speaker via bluetooth
Write the use cases for following 1. Comment section of Facebook 2. Instagram status Implementation
I have s/m which gives me square of numbers from 1 – 10000. How do u test it.
There is one scenario. On login page three fields are available i.e.Login id,Password and checkbox(having funtion remeber my password for 1 week). Please tell me test cases for checkbox.
They were asking sily questions and definitions rather than practical experience related questions. More focused on Definitions.