36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
namespace Svrnty.GeoManagement.Tests.Configuration;
|
|
|
|
public class TestDataConfiguration
|
|
{
|
|
public AddressTestData ValidAddress { get; set; } = new();
|
|
public GeoPointTestData ValidGeoPoint { get; set; } = new();
|
|
public AddressTestData InvalidAddress { get; set; } = new();
|
|
public GeoPointTestData OceanGeoPoint { get; set; } = new();
|
|
public CoordinateRange ExpectedLatRange { get; set; } = new();
|
|
public CoordinateRange ExpectedLongRange { get; set; } = new();
|
|
public string AddressString { get; set; } = string.Empty;
|
|
public AddressTestData NormalizeTestAddress { get; set; } = new();
|
|
}
|
|
|
|
public class AddressTestData
|
|
{
|
|
public string Line1 { get; set; } = string.Empty;
|
|
public string? Line2 { get; set; }
|
|
public string City { get; set; } = string.Empty;
|
|
public string Subdivision { get; set; } = string.Empty;
|
|
public string PostalCode { get; set; } = string.Empty;
|
|
public string Country { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class GeoPointTestData
|
|
{
|
|
public decimal Latitude { get; set; }
|
|
public decimal Longitude { get; set; }
|
|
}
|
|
|
|
public class CoordinateRange
|
|
{
|
|
public decimal Min { get; set; }
|
|
public decimal Max { get; set; }
|
|
}
|