Sha256: 8fbb1adf9783ad6bfc31b4179d673c192adf2454f90cc0bcb120770fbbcee2e5
Contents?: true
Size: 1.31 KB
Versions: 112
Compression:
Stored size: 1.31 KB
Contents
#!/usr/bin/env bats @test "sentence empty" { #skip run bash pangram.sh "" [ "$status" -eq 1 ] } @test "pangram with only lower case" { skip run bash pangram.sh "the quick brown fox jumps over the lazy dog" [ "$status" -eq 0 ] } @test "missing character 'x'" { skip run bash pangram.sh "a quick movement of the enemy will jeopardize five gunboats" [ "$status" -eq 1 ] } @test "another missing character 'x'" { skip run bash pangram.sh "the quick brown fish jumps over the lazy dog" [ "$status" -eq 1 ] } @test "pangram with underscores" { skip run bash pangram.sh "the_quick_brown_fox_jumps_over_the_lazy_dog" [ "$status" -eq 0 ] } @test "pangram with numbers" { skip run bash pangram.sh "the 1 quick brown fox jumps over the 2 lazy dogs" [ "$status" -eq 0 ] } @test "missing letters replaced by numbers" { skip run bash pangram.sh "7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog" [ "$status" -eq 1 ] } @test "pangram with mixed case and punctuation" { skip run bash pangram.sh "Five quacking Zephyrs jolt my wax bed." [ "$status" -eq 0 ] } @test "upper and lower case versions of the same character should not be counted separately" { skip run bash pangram.sh "the quick brown fox jumped over the lazy FOX" [ "$status" -eq 1 ] }
Version data entries
112 entries across 112 versions & 1 rubygems