Skip to content

Instantly share code, notes, and snippets.

@ArunYogeshwaran
Created July 6, 2023 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArunYogeshwaran/bf630b4869cc2fe39cb5645b6e4d8081 to your computer and use it in GitHub Desktop.
Save ArunYogeshwaran/bf630b4869cc2fe39cb5645b6e4d8081 to your computer and use it in GitHub Desktop.
// A test with relevant details in the test itself.
@Test
fun `get ML recommended jobs with new user expect predefined list`() {
  // Test arrangements and setup.
val engine = getRecommendationEngine()
val jobs = engine.getJobs(new User(UserStatus.FAIRLY_NEW, "testId", "Test User Name"))
assertThat(jobs).isEqualTo(expectedJobs) 
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment