Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added elk-tests

  • Loading branch information...
commit de078b31ba64a085a0213a59df951996d2112f04 1 parent 1ac5fa4
@juergenhoetzel authored
Showing with 31 additions and 0 deletions.
  1. +31 −0 babel-test.el
View
31 babel-test.el
@@ -0,0 +1,31 @@
+;; Run all tests in this buffer with `elk-test-run-buffer'.
+;; Or evaluate, then run individual tests with `elk-test-run':
+
+(deftest "test-google"
+ (assert-equal (let* ((fetcher 'babel-google-fetch)
+ (washer 'babel-google-wash))
+ (babel-work "network" "en" "de" fetcher washer))
+ "Netzwerk"))
+
+(deftest "test-babelfish"
+ (assert-equal (let* ((fetcher 'babel-fish-fetch)
+ (washer 'babel-fish-wash))
+ (babel-work "network" "en" "de" fetcher washer))
+ "Netz"))
+
+(deftest "test-free"
+ (assert-equal (let* ((fetcher 'babel-free-fetch)
+ (washer 'babel-free-wash))
+ (babel-work "network" "en" "de" fetcher washer)) "Netz"))
+
+(deftest "test-apertium"
+ (assert-equal (let* ((fetcher 'babel-apertium-fetch)
+ (washer 'babel-apertium-wash))
+ (babel-work "network" "en" "es" fetcher washer)) "Red"))
+
+(deftest "test-google-umlaut"
+ (assert-equal (let* ((fetcher 'babel-google-fetch)
+ (washer 'babel-google-wash))
+ (babel-work "Exercise" "en" "de" fetcher washer))
+ "Übung"))
+
Please sign in to comment.
Something went wrong with that request. Please try again.