Skip to content

Instantly share code, notes, and snippets.

@ArunYogeshwaran
Created July 6, 2023 13:59
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/68c8c6698616076e483d1f5c67b4a9f7 to your computer and use it in GitHub Desktop.
Save ArunYogeshwaran/68c8c6698616076e483d1f5c67b4a9f7 to your computer and use it in GitHub Desktop.
// A test with relevant details abstracted out.
@Test
fun `get ML recommended jobs with new user expect predefined list`() {
// Test arrangements and setup.
val engine = new RecommendationEngine(getEnvDetails(), getLocalInfo(), getSessionProperties())
val jobs = engine.getJobs(getTestUserInfo())
assertThat(jobs).isEqualTo(expectedJobs)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment