public void Setup() { m_Trail = new[] { 0, 2 }; m_TrailDetails = new TrailDetails(1, m_Trail, 1.0, 2.0, 3.0, "Type", 4.0, 5.0, 6.0); }
public void CreateOtherTrailDetailsTest() { var first = new TrailDetails(1, new int[] { }, 2000.0, 3000.0, 4000.0, "Type", 5.0, 6.0, 7.0); var other = new TrailDetails(10, new int[] { }, 200.0, 300.0, 400.0, "Other Type", 5.0, 6.0, 7.0); m_Model.CreateOtherTrailDetails(first, other); m_Factory.Received().Create(other.Interation, other.Trail, other.Length, 1800.0, 90.0, other.Type, other.Alpha, other.Beta, other.Gamma); }