tracks/scala/exercises/pangram/src/test/scala/PangramTest.scala in trackler-2.2.1.39 vs tracks/scala/exercises/pangram/src/test/scala/PangramTest.scala in trackler-2.2.1.40
- old
+ new
@@ -1,10 +1,10 @@
import org.scalatest.{Matchers, FunSuite}
-/** @version 1.0.0 */
+/** @version 1.1.0 */
class PangramTest extends FunSuite with Matchers {
-
+
test("sentence empty") {
Pangrams.isPangram("") should be (false)
}
test("pangram with only lower case") {
@@ -37,13 +37,13 @@
Pangrams.isPangram("7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog") should be (false)
}
test("pangram with mixed case and punctuation") {
pending
- Pangrams.isPangram("\"Five quacking Zephyrs jolt my wax bed.\"") should be (true)
+ Pangrams.isPangram(""""Five quacking Zephyrs jolt my wax bed."""") should be (true)
}
test("upper and lower case versions of the same character should not be counted separately") {
pending
- Pangrams.isPangram("the quick brown fox jumped over the lazy FOX") should be (false)
+ Pangrams.isPangram("the quick brown fox jumps over with lazy FX") should be (false)
}
-}
+}
\ No newline at end of file