📄 isteardownstring.m
字号:
function tf = isTearDownString(str)
%isTearDownString True if string looks like the name of a teardown function
% tf = isTearDownString(str) returns true if the string str looks like the
% name of a teardown function. If str is a cell array of strings, then
% isTearDownString tests each string in the cell array, returning the results
% in a logical array with the same size as str.
% Steven L. Eddins
% Copyright 2008-2009 The MathWorks, Inc.
setup_exp = '^[tT]ear[dD]own';
tf = mtest.utils.containsRegexp(str, setup_exp);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -