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