@@ -0,0 +1,2850 @@
+package com.google.sps.data;%0A%0Aimport com.google.maps.model.LatLng;%0Aimport java.util.TimeZone;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.JUnit4;%0A%0A/** */%0A@RunWith(JUnit4.class)%0Apublic final class LocationTest %7B%0A  Location location = new Location(%22Los Angeles%22);%0A  Location blankLocation = new Location(%22 %22);%0A%0A  @Test%0A  public void checkAddressField() %7B%0A    String actual = location.getAddress();%0A    String expected = %22Los Angeles%22;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkFormattedAddressField() %7B%0A    String actual = location.getAddressFormatted();%0A    String expected = %22Los Angeles, CA, USA%22;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkLatitude() %7B%0A    Double actual = location.getLat();%0A    Double expected = 34.05223420;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkLongitude() %7B%0A    Double actual = location.getLng();%0A    Double expected = -118.24368490;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkCoords() %7B%0A    LatLng actual = location.getCoords();%0A    LatLng expected = new LatLng(34.05223420, -118.24368490);%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkTimeZoneID() %7B%0A    String actual = location.getTimeZoneID();%0A    String expected = %22America/Los_Angeles%22;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkTimeZone() %7B%0A    TimeZone actual = location.getTimeZone();%0A    TimeZone expected = TimeZone.getTimeZone(%22America/Los_Angeles%22);%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkBlankAddressField() %7B%0A    String actual = blankLocation.getAddress();%0A    String expected = %22 %22;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkBlankFormattedAddressField() %7B%0A    String actual = blankLocation.getAddressFormatted();%0A    String expected = null;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkBlankLatitude() %7B%0A    Double actual = blankLocation.getLat();%0A    Double expected = 0.0;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkBlankLongitude() %7B%0A    Double actual = blankLocation.getLng();%0A    Double expected = 0.0;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkBlankCoords() %7B%0A    LatLng actual = blankLocation.getCoords();%0A    LatLng expected = null;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkBlankTimeZoneID() %7B%0A    String actual = blankLocation.getTimeZoneID();%0A    String expected = null;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%0A  @Test%0A  public void checkBlankTimeZone() %7B%0A    TimeZone actual = blankLocation.getTimeZone();%0A    TimeZone expected = null;%0A    Assert.assertEquals(expected, actual);%0A  %7D%0A%7D%0A

Add testing for Location class