Package org.machanism.machai.bindex
Class PickerTest
java.lang.Object
org.machanism.machai.bindex.PickerTest
Unit tests for
Picker that avoid any real MongoDB/GenAI calls.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Constructor Details
-
PickerTest
PickerTest()
-
-
Method Details
-
getNormalizedLanguageName_shouldLowercaseTrimAndStripParentheses
@Test void getNormalizedLanguageName_shouldLowercaseTrimAndStripParentheses() -
getNormalizedLanguageName_shouldHandleAlreadyNormalized
@Test void getNormalizedLanguageName_shouldHandleAlreadyNormalized() -
setScoreAndGetScore_shouldStoreAndReturnScoresFromMap
- Throws:
Exception
-
addDependencies_shouldAddTransitiveDependenciesAndAvoidCycles
@Test void addDependencies_shouldAddTransitiveDependenciesAndAvoidCycles() -
addDependencies_shouldIgnoreUnknownBindexId
@Test void addDependencies_shouldIgnoreUnknownBindexId() -
getEmbeddingBson_shouldValidateArguments
- Throws:
Exception
-