|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.recommender.test.GetPredictedRatingListTest
Test for getPredictedRatingList()
Constructor Summary | |
GetPredictedRatingListTest(CFEngine s)
|
Method Summary | |
int |
fiveItemTest(int user)
fiveItemTest() Get 10 items (5 existed, 5 randomly), check values. |
int |
illegalParamTest()
illegalParamTest() 1. |
int |
multiUserTest1()
multiUserTest1() Test 5 users for 20 items: 1. |
int |
singleItemTest1(int user)
singleItemTest1() item array length is 1(randomly), compare predicted value with the one in DB |
int |
singleItemTest2(int user)
singleItemTest2() item array length is 1 (existed), compare predicted value with the one in DB |
void |
testSeq()
testSeq() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GetPredictedRatingListTest(CFEngine s)
Method Detail |
public int singleItemTest1(int user)
public int singleItemTest2(int user)
public int fiveItemTest(int user)
public int multiUserTest1()
public int illegalParamTest()
public void testSeq()
|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |