Compare commits
2 Commits
b26a6cf65e
...
b2a1571f8d
Author | SHA1 | Date |
---|---|---|
Evgeny Kovalev | b2a1571f8d | 1 year ago |
Evgeny Kovalev | df6256224c | 1 year ago |
6 changed files with 131 additions and 9 deletions
@ -0,0 +1,13 @@ |
|||||||
|
package messages |
||||||
|
|
||||||
|
/* |
||||||
|
const ( |
||||||
|
Message string = "Message" |
||||||
|
PlayerAction string = "PlayerAction" |
||||||
|
System string = "System" |
||||||
|
) |
||||||
|
|
||||||
|
type PlayerMessage struct { |
||||||
|
|
||||||
|
} |
||||||
|
*/ |
@ -0,0 +1,10 @@ |
|||||||
|
package room |
||||||
|
|
||||||
|
import "testing" |
||||||
|
|
||||||
|
func TestRandomName(t *testing.T) { |
||||||
|
s := RandomName() |
||||||
|
if s == "" { |
||||||
|
t.Error("Expected string, got nil", s) |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue