MatchesName() public method

Returns a value indicating if the specified string matches this driver's name.
public MatchesName ( string s ) : bool
s string The string to test.
return bool
コード例 #1
0
        public void can_determine_if_matches_drivers_name(string name, string s, bool matches)
        {
            var driver = new LiveDriver(1);

            driver.Name = name;
            Assert.Equal(matches, driver.MatchesName(s));
        }