Example #1
0
        public void TestRightWhenPiece()
        {
            UnitType type = ParseStringToType.UnitType("piece");

            Assert.AreEqual(type, UnitType.piece);
        }
Example #2
0
        public void TestNotFound()
        {
            UnitType type = ParseStringToType.UnitType("Ll");

            Assert.AreEqual(type, UnitType.notFound);
        }
Example #3
0
        public void TestRightWheng()
        {
            UnitType type = ParseStringToType.UnitType("g");

            Assert.AreEqual(type, UnitType.g);
        }