Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.4
Fetching contributors…

Cannot retrieve contributors at this time

file 30 lines (25 sloc) 1.027 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
;; 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"))
Something went wrong with that request. Please try again.