/// <summary> /// Creates a mock car profile. /// </summary> /// <returns></returns> public static MockProfile CarMock() { return(MockProfile.Mock("CarMock", x => new Speed() { Value = 50f / 3.6f, Direction = 0 }, VehicleTypes.MotorVehicle, VehicleTypes.Vehicle)); }
/// <summary> /// Creates a mock car profile. /// </summary> /// <returns></returns> public static MockProfile CarMock(Func <IAttributeCollection, Speed> getSpeed) { return(MockProfile.Mock("CarMock", getSpeed, VehicleTypes.MotorVehicle, VehicleTypes.Vehicle)); }