コード例 #1
0
        public void PhysCalculatorTests_ReadTokenTest()
        {
            string CommandLine   = "Some_token in this line";
            string Token         = string.Empty;
            string TokenExpected = "Some_token";
            string expected      = "in this line";
            string actual;

            actual = TokenString.ReadToken(CommandLine, out Token);
            Assert.AreEqual(TokenExpected, Token);
            Assert.AreEqual(expected, actual);
        }