public void TestGetMapReduceObject() { MapReduce mr = mrcol.MapReduce(); Assert.IsNotNull(mr); Assert.AreEqual(mrcol.Name, mr.Name); }
public void TestCreateMapReduceWithStringFunctions() { MapReduce mr = mrcol.MapReduce(); MapReduceBuilder mrb = new MapReduceBuilder(mr); mrb.Map(mapfunction).Reduce(reducefunction); Assert.IsNotNull(mr.Map); Assert.IsNotNull(mr.Reduce); }