Пример #1
0
    public void AppendToTest2(VCdVersion version)
    {
        var sb = new StringBuilder();

        GeoCoordinateConverter.AppendTo(sb, null, version);
        Assert.AreEqual(0, sb.Length);
    }
Пример #2
0
    public void AppendToTest3()
    {
        var sb = new StringBuilder();

        GeoCoordinateConverter.AppendTo(sb, new GeoCoordinate(0.8, 0.7), VCdVersion.V3_0);
        Assert.AreEqual("0.800000;0.700000", sb.ToString());
    }
Пример #3
0
    public void AppendToTest1(VCdVersion version, string expected)
    {
        var sb = new StringBuilder();

        GeoCoordinateConverter.AppendTo(sb, new GeoCoordinate(0.8, 0.7), version);
        Assert.AreEqual(expected, sb.ToString());
    }