TextLabel text = new TextLabel();
Window.Instance.GetDefaultLayer().Add(text);
styleManager.ApplyDefaultTheme();
- Color bg = text.TextColor;
- Assert.AreEqual(0.0f, bg.R, "Should be equals to the set value of text.BackGroundColor.R");
- Assert.AreEqual(0.0f, bg.G, "Should be equals to the set value of text.BackGroundColor.G");
- Assert.AreEqual(0.0f, bg.B, "Should be equals to the set value of text.BackGroundColor.B");
- Assert.AreEqual(1.0f, bg.A, "Should be equals to the set value of text.BackGroundColor.A");
+ Assert.AreEqual(2, text.AutoScrollLoopCount, "Should be equals to the set value of text.AutoScrollLoopCount");
}
[Test]