public void LocationUpdate_ToString() { var locationUpdate = new LocationUpdate { BibNumber = 47, Timestamp = new DateTime(2017, 8, 15, 10, 26, 0), LocationOnCourse = 680.067495971265 }; Assert.AreEqual("OnCourse,47,8/15/2017 10:26:00 AM,680.067495971265", locationUpdate.ToString()); }