Skip to content

Commit 13ec3df

Browse files
Added missing functions for creating modifications
1 parent f681ad0 commit 13ec3df

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/de/rub/nds/modifiablevariable/bool/BooleanModificationFactory.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,12 @@ public static VariableModification<Boolean> createRandomModification() {
2828
}
2929
return null;
3030
}
31+
32+
public static VariableModification<Boolean> toogle() {
33+
return new BooleanToogleModification();
34+
}
35+
36+
public static VariableModification<Boolean> explicitValue(final boolean explicitValue) {
37+
return new BooleanExplicitValueModification(explicitValue);
38+
}
3139
}

0 commit comments

Comments
 (0)