diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-05-09 00:41:36 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-05-09 00:41:36 +0300 |
| commit | 1e30fa7ded9939fa45a45f82f84c1e8cd95d68aa (patch) | |
| tree | f2b60d48330937603a8b068dbb5a983be33d8fb8 /src/main/kotlin/me/kyren223/trident/tests/MappingsExpansionTest.kt | |
| parent | 5da72c7ec98edfab7fbebc335e1a9fba116988a5 (diff) | |
Refactored a lot of the code and added a bunch of features and settings. Not finished yet but committing, so I can push to GitHub
Diffstat (limited to 'src/main/kotlin/me/kyren223/trident/tests/MappingsExpansionTest.kt')
| -rw-r--r-- | src/main/kotlin/me/kyren223/trident/tests/MappingsExpansionTest.kt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/main/kotlin/me/kyren223/trident/tests/MappingsExpansionTest.kt b/src/main/kotlin/me/kyren223/trident/tests/MappingsExpansionTest.kt new file mode 100644 index 0000000..0b66c4b --- /dev/null +++ b/src/main/kotlin/me/kyren223/trident/tests/MappingsExpansionTest.kt @@ -0,0 +1,42 @@ +package me.kyren223.trident.tests + +import org.junit.Test + +class MappingsExpansionTest { + @Test + fun testExpand() { + val mappings = mapOf( + "\$A" to "A", + "\$BB" to "B", + "\$CCC" to "C", + "\$DDD" to "D", + "\$EEE" to "E", + "\$FFFFF" to "F", + "\$GG" to "G", + "\$UUU" to "U", + "\$VVVV" to "V", + "\$LLLLLL" to "L", + "\$MM" to "M", + "\$NN" to "N", + "\$OOO" to "O", + "\$PPP" to "P", + "\$QQQQ" to "Q", + "\$R" to "R", + "\$WWW" to "W", + "\$XX" to "X", + "\$HI" to "H", + "\$IJ" to "I", + "\$JetBrains" to "J", + "\$Krypton" to "K", + "\$Soft" to "S", + "\$Tnt" to "T", + "\$Ycombinator" to "Y", + "\$Zig" to "Z", + ).toList().sortedByDescending { it.first.length } + + mappings.forEach { (key, value) -> + println("$key -> $value") + } + + } +}
\ No newline at end of file |
