diff options
| author | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2024-08-08 00:34:47 -0400 |
|---|---|---|
| committer | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2024-08-08 00:34:47 -0400 |
| commit | 30e6a28a51f581b3b678167181972dd98687e2af (patch) | |
| tree | faced75ffd98c2aef45a7f5ca2ec3da03a00ce75 /src/test/java/de | |
| parent | 1d95773ad9502320b5dc59c619d87225c158b49b (diff) | |
| download | Skyblocker-30e6a28a51f581b3b678167181972dd98687e2af.tar.gz Skyblocker-30e6a28a51f581b3b678167181972dd98687e2af.tar.bz2 Skyblocker-30e6a28a51f581b3b678167181972dd98687e2af.zip | |
Update regex for position addition
Diffstat (limited to 'src/test/java/de')
| -rw-r--r-- | src/test/java/de/hysky/skyblocker/skyblock/special/DyeSpecialEffectsTest.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/test/java/de/hysky/skyblocker/skyblock/special/DyeSpecialEffectsTest.java b/src/test/java/de/hysky/skyblocker/skyblock/special/DyeSpecialEffectsTest.java new file mode 100644 index 00000000..e5910c8d --- /dev/null +++ b/src/test/java/de/hysky/skyblocker/skyblock/special/DyeSpecialEffectsTest.java @@ -0,0 +1,22 @@ +package de.hysky.skyblocker.skyblock.special; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +public class DyeSpecialEffectsTest { + + @Test + void testDye1() { + Assertions.assertTrue(DyeSpecialEffects.DROP_PATTERN.matcher("WOW! [MVP+] Crystalfall found Necron Dye #7!").matches(), "Dye Test #1 didn't match!"); + } + + @Test + void testDye2() { + Assertions.assertTrue(DyeSpecialEffects.DROP_PATTERN.matcher("WOW! [MVP+] AzureAaron found Wild Strawberry Dye #1,888!").matches(), "Dye Test #2 didn't match!"); + } + + @Test + void testDye3() { + Assertions.assertTrue(DyeSpecialEffects.DROP_PATTERN.matcher("WOW! [MVP+] Viciscat found Cat Dye #1!").matches(), "Dye Test #3 didn't match!"); + } +} |
