public void AnalyseWeekTest() { // The week number that is expected int week = 33; // Obtain the Week analysis WeekAnalysis wk33_analysis = Analysis.AnalyseWeek(week); // Ensure that the requested week has been recieved Assert.AreEqual(week, wk33_analysis.WeekNumber); }
public void Initialise() { // Create a new KML Reader KMLReader reader = new KMLReader(ROOT_DIR + "data\\L_wk32_drops.kml"); // Read in all call logs EventCollection collection = reader.GetCallLogs(); // Cluster the call logs DBSCAN scan = new DBSCAN(collection); scan.Analyse(); // Initialise the clusters Clusters = scan.Clusters; // Initialise the analysis Analysis = new WeekAnalysis(Clusters, WEEK); }