示例#1
0
    public void UpdateBilboardText()
    {
        _textMesh.text = "";

        if (_textMesh == null || _note.Content == null)
        {
            return;
        }

        _textMesh.text = _bilboardTextParserService.Format(input: _note.Content);
    }
示例#2
0
        public void Format_WhenInputIsEmptyString_ReturnEmptyString()
        {
            // Arrange
            var input    = "";
            var expected = "";

            // Act
            var result = _bilboardTextFormatterService.Format(input);

            // Assert
            Assert.AreEqual(expected, result);
        }
 public void UpdateBilboardText()
 {
     _textMesh.text = _bilboardTextParserService.Format(input: _note.Content);
 }