mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 11:22:53 +02:00
Unit tests
- Test `setForegroundBackground(SimpleColor, SimpleColor)`
This commit is contained in:
parent
f56c6eb7dc
commit
70b7b89e18
@ -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");
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user