0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

タイピングゲームのローマ字のテスト方法のちょっとした話

Last updated at Posted at 2024-06-04

ちょっとした話

タイピングゲームを作ったとして、ローマ字の変換が正しく行われているかどうかをテストしたいとする。

愚直にバグりそうなパターンを考えまくって単体テストする方法もあるだろうが、文字の組み合わせ、ローマ字入力の組み合わせは果てしなく多く、これは発狂不可避なのである。

という訳で、ランダムな文字列を作って、それを永遠に人力でテストしてみるのはどうだろうか?

終わり。

ランダムな人力テスト

愚直な単体テストの例

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?