示例#1
0
        public void CanGetIndex()
        {
            var testValue = "FooBarFooBar";
            var findChar = 0;
            var expectedIndex = new StringValue("F");
            var sv = new StringValue(testValue);

            //Case Sensitive
            Assert.AreEqual(expectedIndex, sv.GetIndex(0));
        }