Link the player character ribbon to the server.
This commit is contained in:
parent
ed1b27039d
commit
4ed11660c3
17 changed files with 228 additions and 72 deletions
|
|
@ -62,6 +62,26 @@ class ExpressionParserTest {
|
|||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun textUrlExpression() {
|
||||
val parser = ExpressionParser(
|
||||
diceParser = DiceParser(),
|
||||
wordParser = WordParser(),
|
||||
)
|
||||
parser.test(
|
||||
expression = "https://drive.google.com/uc?export=view&id=19ME-r7LiDQSrDCq8faVlTNQ7tfX8UUOO",
|
||||
expected = Expression.UrlExpression("https://drive.google.com/uc?export=view&id=19ME-r7LiDQSrDCq8faVlTNQ7tfX8UUOO"),
|
||||
)
|
||||
parser.test(
|
||||
expression = "www.google.fr",
|
||||
expected = Expression.UrlExpression("www.google.fr"),
|
||||
)
|
||||
parser.test(
|
||||
expression = "google.fr",
|
||||
expected = Expression.UrlExpression("google.fr"),
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testFunctionExpression() {
|
||||
val parser = ExpressionParser(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue