Home
last modified time | relevance | path

Searched refs:assertEqualScores (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java107 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore("", "")); in testCalculateTitleMatchScore_empty()
108 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore("foo", "")); in testCalculateTitleMatchScore_empty()
109 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore("", "foo")); in testCalculateTitleMatchScore_empty()
114 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore(" ", " ")); in testCalculateTitleMatchScore_spaces()
115 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore("foo", " ")); in testCalculateTitleMatchScore_spaces()
116 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore(" ", "foo")); in testCalculateTitleMatchScore_spaces()
121 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore(null, null)); in testCalculateTitleMatchScore_null()
122 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore("foo", null)); in testCalculateTitleMatchScore_null()
123 assertEqualScores(0.0, RoutineWatchEvaluator.calculateTitleMatchScore(null, "foo")); in testCalculateTitleMatchScore_null()
289 assertEqualScores( in assertOverlappedIntervalScore()
[all …]
DEvaluatorTestCase.java92 assertEqualScores( in assertChannelScoresValid()
94 assertEqualScores( in assertChannelScoresValid()
111 void assertEqualScores(double expected, double actual) { in assertEqualScores() method in EvaluatorTestCase
115 void assertEqualScores(String message, double expected, double actual) { in assertEqualScores() method in EvaluatorTestCase
DRecentChannelEvaluatorTest.java51 assertEqualScores( in testOneChannelWithNoWatchLog()
74 assertEqualScores( in testMultiChannelsWithNoWatchLog()
DFavoriteChannelEvaluatorTest.java49 assertEqualScores( in testOneChannelWithNoWatchLog()
72 assertEqualScores( in testMultiChannelsWithNoWatchLog()