Skip to content

Commit 2845f59

Browse files
committed
typo
1 parent 0953209 commit 2845f59

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

improveai/src/test/java/ai/improve/DecisionContextTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void testChooseFrom_empty_variants() {
8181
}
8282

8383
@Test
84-
public void testChooseFromVaiantsAndScores() {
84+
public void testChooseFromVariantsAndScores() {
8585
Map givens = Map.of("lang", "en");
8686
List variants = Arrays.asList("hi", "hello", "hey");
8787
List scores = Arrays.asList(0.05, 0.1, 0.08);
@@ -93,14 +93,14 @@ public void testChooseFromVaiantsAndScores() {
9393
}
9494

9595
@Test
96-
public void testChooseFromVaiantsAndScores_generic() {
96+
public void testChooseFromVariantsAndScores_generic() {
9797
DecisionModel decisionModel = new DecisionModel("greetings");
9898
String greeting = decisionModel.given(null).chooseFrom(variants(), scores()).get();
9999
IMPLog.d(Tag, "greeting is " + greeting);
100100
}
101101

102102
@Test
103-
public void testChooseFromVaiantsAndScores_null_variants() {
103+
public void testChooseFromVariantsAndScores_null_variants() {
104104
Map givens = Map.of("lang", "en");
105105
List scores = Arrays.asList(1, 2, 3);
106106
DecisionModel decisionModel = new DecisionModel("greetings");
@@ -114,7 +114,7 @@ public void testChooseFromVaiantsAndScores_null_variants() {
114114
}
115115

116116
@Test
117-
public void testChooseFromVaiantsAndScores_empty_variants() {
117+
public void testChooseFromVariantsAndScores_empty_variants() {
118118
Map givens = Map.of("lang", "en");
119119
List scores = Arrays.asList(1, 2, 3);
120120
DecisionModel decisionModel = new DecisionModel("greetings");
@@ -128,7 +128,7 @@ public void testChooseFromVaiantsAndScores_empty_variants() {
128128
}
129129

130130
@Test
131-
public void testChooseFromVaiantsAndScores_invalid_size() {
131+
public void testChooseFromVariantsAndScores_invalid_size() {
132132
Map givens = Map.of("lang", "en");
133133
List variants = Arrays.asList("hi", "hello", "hey");
134134
List scores = Arrays.asList(0.05, 0.1, 0.08, 0.09);

0 commit comments

Comments
 (0)