public void constructor() { var obj = new SpheroidEquatorialInvF(3.0, 4.0); Assert.Equal(3.0, obj.A); Assert.Equal(4.0, obj.InvF); obj = new SpheroidEquatorialInvF(4.0, 5.0); Assert.Equal(4.0, obj.A); Assert.Equal(5.0, obj.InvF); }
public void property_e2sq() { var obj = new SpheroidEquatorialInvF(3.0, 4.0); Assert.Equal(obj.ESecond * obj.ESecond, obj.ESecondSquared); }
public void property_e2() { var obj = new SpheroidEquatorialInvF(3.0, 4.0); Assert.Equal(System.Math.Sqrt((0.4375 / (1 - 0.4375))), obj.ESecond); }
public void property_esq() { var obj = new SpheroidEquatorialInvF(3.0, 4.0); Assert.Equal(obj.E * obj.E, obj.ESquared, 10); }
public void property_e() { var obj = new SpheroidEquatorialInvF(3.0, 4.0); Assert.Equal(System.Math.Sqrt(7.0 / 16.0), obj.E); }
public void property_invf() { var obj = new SpheroidEquatorialInvF(3.0, 4.0); Assert.Equal(4.0, obj.InvF); }
public void property_f() { var obj = new SpheroidEquatorialInvF(3.0, 4.0); Assert.Equal(1.0 / 4.0, obj.F); }
public void property_a() { var obj = new SpheroidEquatorialInvF(3.0, 4.0); Assert.Equal(3.0, obj.A); }