예제 #1
0
        public void  換できる()
        {
            const int p      = 100;
            var       points = pointFactory.Create(p);

            score.Set(points);

            var expected = "Count: " + p;
            var actual   = translator.Translate(score).ScoreText;

            Assert.That(actual, Is.EqualTo(expected));
        }
예제 #2
0
        public void Render(IScoreEntity scoreEntity)
        {
            var structure = translator.Translate(scoreEntity);

            presenter.Render(structure);
        }