public void Test_swe_cs2lonlatstr() { using (var target = new SwissEph()) { Assert.Equal("p000", target.swe_cs2lonlatstr(0, 'p', 'm')); Assert.Equal("p325'46", target.swe_cs2lonlatstr(1234567, 'p', 'm')); Assert.Equal("m325'46", target.swe_cs2lonlatstr(-1234567, 'p', 'm')); } }
public void Test_swe_cs2lonlatstr() { using (var target = new SwissEph()) { Assert.AreEqual("p000", target.swe_cs2lonlatstr(0, 'p', 'm')); Assert.AreEqual("p325'46", target.swe_cs2lonlatstr(1234567, 'p', 'm')); Assert.AreEqual("m325'46", target.swe_cs2lonlatstr(-1234567, 'p', 'm')); } }