Esempio n. 1
0
        public void TestImplicitScoreValue()
        {
            ScoreValue   scoreValue = new ScoreValue(ID.Selector.s, new Objective("scores"));
            Objective    objective  = scoreValue;
            BaseSelector selector   = scoreValue;

            Assert.AreEqual("scores", objective.Name, "Objective wasn't converted correctly");
            Assert.AreEqual("@s", selector.GetSelectorString(), "Selector wasn't converted correctly");
        }