<commit_before>package algo;

import java.util.ArrayList;
import java.util.HashMap;

import org.jgrapht.graph.SimpleWeightedGraph;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;

import schedulable.Transportation;
import search.TreeSearchTest;
import state.SchedulingStateTest;
import time.TimeBlock;
import util.Debugger;
import activities.ActivitySpanningTree;
import activities.Location;

public class SchedulerTest {
	static SimpleWeightedGraph<Location, Transportation> graph;
	static HashMap<TimeBlock, ActivitySpanningTree> pairs;
	
	@BeforeClass
	public static void init() {
		SchedulingStateTest.init();
		graph = SchedulingStateTest.graph;
		pairs = new HashMap<TimeBlock, ActivitySpanningTree>();
		
		// The first TB - AST pair
		ArrayList<TimeBlock> availableTBs = new ArrayList<TimeBlock>();
		availableTBs.add(SchedulingStateTest.tb1);
		ActivitySpanningTree ast1 = new ActivitySpanningTree(1, availableTBs);
		Assert.assertTrue(ast1.addActivities(SchedulingStateTest.state1
				.getActivities()));
		pairs.put(SchedulingStateTest.tb1, ast1);
		
		// The second TB - AST pair
		availableTBs = new ArrayList<TimeBlock>();
		availableTBs.add(SchedulingStateTest.tb2);
		ActivitySpanningTree ast2 = new ActivitySpanningTree(2, availableTBs);
		Assert.assertTrue(ast2.addActivities(SchedulingStateTest.state2
				.getActivities()));
		pairs.put(SchedulingStateTest.tb2, ast2);
		
		// The third TB - AST pair
		availableTBs = new ArrayList<TimeBlock>();<commit_msg>Add more test case output<commit_after>package algo;

import java.util.ArrayList;
import java.util.HashMap;

import org.jgrapht.graph.SimpleWeightedGraph;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;

import schedulable.Transportation;
import search.TreeSearchTest;
import state.SchedulingStateTest;
import time.TimeBlock;
import util.Debugger;
import activities.ActivitySpanningTree;
import activities.Location;

public class SchedulerTest {
	static SimpleWeightedGraph<Location, Transportation> graph;
	static HashMap<TimeBlock, ActivitySpanningTree> pairs;
	
	@BeforeClass
	public static void init() {
		System.out
				.println("****************************************************");
		System.out
				.println("****************** Scheduler Test ******************");
		System.out
				.println("****************************************************");
		System.out.println();
		
		SchedulingStateTest.init();
		graph = SchedulingStateTest.graph;
		pairs = new HashMap<TimeBlock, ActivitySpanningTree>();
		
		// The first TB - AST pair
		ArrayList<TimeBlock> availableTBs = new ArrayList<TimeBlock>();
		availableTBs.add(SchedulingStateTest.tb1);
		ActivitySpanningTree ast1 = new ActivitySpanningTree(1, availableTBs);
		Assert.assertTrue(ast1.addActivities(SchedulingStateTest.state1
				.getActivities()));
		pairs.put(SchedulingStateTest.tb1, ast1);
		
		// The second TB - AST pair
		availableTBs = new ArrayList<TimeBlock>();
		availableTBs.add(SchedulingStateTest.tb2);
		ActivitySpanningTree ast2 = new ActivitySpanningTree(2, availableTBs);
		Assert.assertTrue(ast2.addActivities(SchedulingStateTest.state2
				.getActivities()));
		pairs.put(SchedulingStateTest.tb2, ast2);
		
		// The third TB - AST pair
		availableTBs = new ArrayList<TimeBlock>();
{'fraction_non_alphanumeric': 0.13930950938824954, 'fraction_numerical': 0.008479709267110842, 'mean_word_length': 5.852697095435684, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3839840', 'n_tokens_mistral': 1076, 'n_tokens_neox': 953, 'n_words': 204}