Example #1
0
        public void ExtractCoordinate_ShouldCorrectlyReturnLocation()
        {
            const string data      = @"
<html>
<head></head>
<body>
<h2>Heading 1</h2>
<table>
<tr>
<td>1 2 3</td>
<td>Some Comment</td>
</tr>
</table>
<h2>Heading 2</h2>
<table>
</table>
</body>
</html>";
            var          locations = LocationUpdate.ExtractCoordinates(data);

            Assert.Equal(1, locations.Count());
        }