?? 00_load.t
字號:
BEGIN { $| = 1; print "1..4\n"; }END {print "not ok 1\n" unless $loaded;}use String::Similarity;$loaded = 1;print "ok 1\n";print similarity("this should be the same", "this should be the same") == 1 ? "" : "not ", "ok 2\n";my $s = similarity("this should be same the", "this should be the same");print $s > 0.825 && $s < 0.827 ? "" : "not ", "ok 3\n";print similarity("A", "B") == 0 ? "" : "not ", "ok 4\n";
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -