Example #1
0
        public void ToMapLocationFromCategoryAndColumns_ShouldGetLocationZ()
        {
            var data = new Tuple <string, IEnumerable <IEnumerable <string> > >(
                "Header",
                new List <IEnumerable <string> > {
                new List <string> {
                    "100 -200 300", "This is a comment."
                }
            });

            var actual = LocationUpdate.ToMapLocationFromCategoryAndColumns(data);

            Assert.Equal(-200, actual.First().Z);
        }