public AlgorithmController(IConfiguration configuration, IHostingEnvironment env, IOptions <TwilioConfiguration> twilioConfig) { var context = new DissertationContext(configuration, env); _algorithm = new AlgorithmLogic(); _data = new DataLogic(context); _other = new OtherLogic(); _twilioConfig = twilioConfig.Value; }
public bool MaxSortDelegateTestWithYield(int[][] a, ref int[][] expected) { OtherLogic.Sort(a, CompareFunctions.CompareMax); return(compareArrays(ref a, ref expected)); }