1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 13:22:52 +02:00

Unit tests

- Test `setForegroundBackground(SimpleColor, SimpleColor)`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-24 15:58:15 +02:00
parent f56c6eb7dc
commit 70b7b89e18

View File

@ -1119,6 +1119,11 @@ public class Client : Thread
string foregroundRedtext = setForeground(SimpleColor.RED)~"This is red text"; string foregroundRedtext = setForeground(SimpleColor.RED)~"This is red text";
client.channelMessage(foregroundRedtext, "#birchwood"); client.channelMessage(foregroundRedtext, "#birchwood");
string alternatePattern = setForeground(SimpleColor.RED)~"This "~setForeground(SimpleColor.WHITE)~"is "~setForeground(SimpleColor.BLUE)~"America!";
client.channelMessage(alternatePattern, "#birchwood");
string backgroundText = setForegroundBackground(SimpleColor.RED, SimpleColor.CYAN)~"Birchwood";
client.channelMessage(backgroundText, "#birchwood");
/** /**