package edu.ntnu.idi.goldfish;

public class Test {

	public static void main(String[] args) throws Exception {


	}
	
}

@@ -29,88 +29,601 @@
 h;%0A%0A
-public class Test %7B%0A%0A%09public static void main(String%5B%5D args) throws Exception %7B%0A
+import edu.ntnu.idi.goldfish.mahout.SMDataModel;%0Aimport edu.ntnu.idi.goldfish.preprocessors.Preprocessor;%0A%0Aimport java.io.File;%0A%0Apublic class Test %7B%0A%0A%09public static void main(String%5B%5D args) throws Exception %7B%0A        SMDataModel model;%0A        model = new SMDataModel(new File(%22datasets/yow-userstudy/like-timeonpage-timeonmouse.csv%22));%0A%0A        System.out.println(String.format(%22Density unprocessed: %25f%22, model.getDensity()));%0A        Preprocessor pre = new Preprocessor();%0A        pre.preprocess(model);%0A        System.out.println(String.format(%22Density processed: %25f%22, model.getDensity()));
 %0A%0A%09%7D

Add testing code of Preprocessor to Test class