Permalink
Browse files

added elk-tests

  • Loading branch information...
1 parent 1ac5fa4 commit de078b31ba64a085a0213a59df951996d2112f04 @juergenhoetzel committed Jun 10, 2009
Showing with 31 additions and 0 deletions.
  1. +31 −0 babel-test.el
View
@@ -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"))
+

0 comments on commit de078b3

Please sign in to comment.