( string_is_x )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( string_is_empty ) | s == '' | - | - | - | - |
| ( string_is_null_or_empty ) | is None + len | - | - | - | - |
| ( string_contains ) | s in text | - | - | - | - |
| ( string_starts_with ) | startswith | - | - | - | - |
| ( string_ends_with ) | endswith | - | - | - | - |
| ( is_alnum ) | → | - | - | - | - |
| ( is_alnum_multibyte ) | → | - | - | - | - |
| ( is_alpha ) | → | - | - | - | - |
| ( is_digit ) | → | - | - | - | - |
| ( is_space ) | → | - | - | - | - |
| ( is_lower ) | islower | - | - | - | - |
| ( is_upper ) | isupper | - | - | - | - |