From f82c51f7a6924f3b7e058b41cc838dc0e9cec67c Mon Sep 17 00:00:00 2001 From: Kevin Marker Date: Mon, 10 Jun 2024 08:59:48 -0500 Subject: [PATCH 1/3] add Pig Latin, part of 24 in 48 --- config.json | 8 + .../practice/pig-latin/.docs/instructions.md | 46 +++++ .../practice/pig-latin/.docs/introduction.md | 8 + .../practice/pig-latin/.meta/config.json | 19 ++ exercises/practice/pig-latin/.meta/example.el | 52 ++++++ exercises/practice/pig-latin/.meta/tests.toml | 76 ++++++++ .../practice/pig-latin/pig-latin-test.el | 168 ++++++++++++++++++ exercises/practice/pig-latin/pig-latin.el | 14 ++ 8 files changed, 391 insertions(+) create mode 100644 exercises/practice/pig-latin/.docs/instructions.md create mode 100644 exercises/practice/pig-latin/.docs/introduction.md create mode 100644 exercises/practice/pig-latin/.meta/config.json create mode 100644 exercises/practice/pig-latin/.meta/example.el create mode 100644 exercises/practice/pig-latin/.meta/tests.toml create mode 100644 exercises/practice/pig-latin/pig-latin-test.el create mode 100644 exercises/practice/pig-latin/pig-latin.el diff --git a/config.json b/config.json index 507171b0..ca62c166 100644 --- a/config.json +++ b/config.json @@ -806,6 +806,14 @@ "topics": [ "control_flow_loops" ] + }, + { + "slug": "pig-latin", + "name": "Pig Latin", + "uuid": "3bee6827-8766-4d4d-9d0f-3facc3bfd3f4", + "practices": [], + "prerequisites": [], + "difficulty": 1 } ] }, diff --git a/exercises/practice/pig-latin/.docs/instructions.md b/exercises/practice/pig-latin/.docs/instructions.md new file mode 100644 index 00000000..a9645ac2 --- /dev/null +++ b/exercises/practice/pig-latin/.docs/instructions.md @@ -0,0 +1,46 @@ +# Instructions + +Your task is to translate text from English to Pig Latin. +The translation is defined using four rules, which look at the pattern of vowels and consonants at the beginning of a word. +These rules look at each word's use of vowels and consonants: + +- vowels: the letters `a`, `e`, `i`, `o`, and `u` +- consonants: the other 21 letters of the English alphabet + +## Rule 1 + +If a word begins with a vowel, or starts with `"xr"` or `"yt"`, add an `"ay"` sound to the end of the word. + +For example: + +- `"apple"` -> `"appleay"` (starts with vowel) +- `"xray"` -> `"xrayay"` (starts with `"xr"`) +- `"yttria"` -> `"yttriaay"` (starts with `"yt"`) + +## Rule 2 + +If a word begins with one or more consonants, first move those consonants to the end of the word and then add an `"ay"` sound to the end of the word. + +For example: + +- `"pig"` -> `"igp"` -> `"igpay"` (starts with single consonant) +- `"chair"` -> `"airch"` -> `"airchay"` (starts with multiple consonants) +- `"thrush"` -> `"ushthr"` -> `"ushthray"` (starts with multiple consonants) + +## Rule 3 + +If a word starts with zero or more consonants followed by `"qu"`, first move those consonants (if any) and the `"qu"` part to the end of the word, and then add an `"ay"` sound to the end of the word. + +For example: + +- `"quick"` -> `"ickqu"` -> `"ickquay"` (starts with `"qu"`, no preceding consonants) +- `"square"` -> `"aresqu"` -> `"aresquay"` (starts with one consonant followed by `"qu`") + +## Rule 4 + +If a word starts with one or more consonants followed by `"y"`, first move the consonants preceding the `"y"`to the end of the word, and then add an `"ay"` sound to the end of the word. + +Some examples: + +- `"my"` -> `"ym"` -> `"ymay"` (starts with single consonant followed by `"y"`) +- `"rhythm"` -> `"ythmrh"` -> `"ythmrhay"` (starts with multiple consonants followed by `"y"`) diff --git a/exercises/practice/pig-latin/.docs/introduction.md b/exercises/practice/pig-latin/.docs/introduction.md new file mode 100644 index 00000000..04baa475 --- /dev/null +++ b/exercises/practice/pig-latin/.docs/introduction.md @@ -0,0 +1,8 @@ +# Introduction + +Your parents have challenged you and your sibling to a game of two-on-two basketball. +Confident they'll win, they let you score the first couple of points, but then start taking over the game. +Needing a little boost, you start speaking in [Pig Latin][pig-latin], which is a made-up children's language that's difficult for non-children to understand. +This will give you the edge to prevail over your parents! + +[pig-latin]: https://en.wikipedia.org/wiki/Pig_latin diff --git a/exercises/practice/pig-latin/.meta/config.json b/exercises/practice/pig-latin/.meta/config.json new file mode 100644 index 00000000..86d6dc4d --- /dev/null +++ b/exercises/practice/pig-latin/.meta/config.json @@ -0,0 +1,19 @@ +{ + "authors": [ + "kmarker1101" + ], + "files": { + "solution": [ + "pig-latin.el" + ], + "test": [ + "pig-latin-test.el" + ], + "example": [ + ".meta/example.el" + ] + }, + "blurb": "Implement a program that translates from English to Pig Latin.", + "source": "The Pig Latin exercise at Test First Teaching by Ultrasaurus", + "source_url": "https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/" +} diff --git a/exercises/practice/pig-latin/.meta/example.el b/exercises/practice/pig-latin/.meta/example.el new file mode 100644 index 00000000..32322d0b --- /dev/null +++ b/exercises/practice/pig-latin/.meta/example.el @@ -0,0 +1,52 @@ +;;; pig-latin.el --- Pig Latin (exercism) -*- lexical-binding: t; -*- + +;;; Commentary: + +;;; Code: + +(defvar +vowels+ '("a" "e" "i" "o" "u" "xr" "yt")) + +(defun custom-split-string (str) + "Split STR into a list of words." + (if (zerop (length str)) + nil + (let* ((split-at (string-match " " str)) + (word (if split-at (substring str 0 split-at) str)) + (rest-str (if split-at (substring str (1+ split-at)) ""))) + (cons word (custom-split-string rest-str))))) + +(defun starts-with-p (word search-list) + "Check if WORD starts with any prefix in SEARCH-LIST." + (if search-list + (if (string-prefix-p (car search-list) word) + t + (starts-with-p word (cdr search-list))))) + +(defun stop-p (word index) + "Determine if processing should stop based on WORD and INDEX." + (or (starts-with-p word +vowels+) + (and (char-equal ?y (aref word 0)) (= index 1)))) + +(defun take-consonants (word &optional index) + "Calculate the number of consonants at the start of WORD. +INDEX is used to keep track of the current position." + (unless index + (setq index 0)) + (cond + ((stop-p word index) index) + ((starts-with-p word '("qu")) (take-consonants (substring word 2) (+ 2 index))) + (t (take-consonants (substring word 1) (1+ index))))) + +(defun translate-word (word) + "Translate a single WORD into Pig Latin." + (let ((index (take-consonants word))) + (concat (substring word index) (substring word 0 index) "ay"))) + +(defun translate (phrase) + "Translate a PHRASE into Pig Latin." + (mapconcat #'translate-word (split-string phrase) " ")) + + +(provide 'pig-latin) +;;; pig-latin.el ends here + diff --git a/exercises/practice/pig-latin/.meta/tests.toml b/exercises/practice/pig-latin/.meta/tests.toml new file mode 100644 index 00000000..c29168c5 --- /dev/null +++ b/exercises/practice/pig-latin/.meta/tests.toml @@ -0,0 +1,76 @@ +# This is an auto-generated file. +# +# Regenerating this file via `configlet sync` will: +# - Recreate every `description` key/value pair +# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications +# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion) +# - Preserve any other key/value pair +# +# As user-added comments (using the # character) will be removed when this file +# is regenerated, comments can be added via a `comment` key. + +[11567f84-e8c6-4918-aedb-435f0b73db57] +description = "ay is added to words that start with vowels -> word beginning with a" + +[f623f581-bc59-4f45-9032-90c3ca9d2d90] +description = "ay is added to words that start with vowels -> word beginning with e" + +[7dcb08b3-23a6-4e8a-b9aa-d4e859450d58] +description = "ay is added to words that start with vowels -> word beginning with i" + +[0e5c3bff-266d-41c8-909f-364e4d16e09c] +description = "ay is added to words that start with vowels -> word beginning with o" + +[614ba363-ca3c-4e96-ab09-c7320799723c] +description = "ay is added to words that start with vowels -> word beginning with u" + +[bf2538c6-69eb-4fa7-a494-5a3fec911326] +description = "ay is added to words that start with vowels -> word beginning with a vowel and followed by a qu" + +[e5be8a01-2d8a-45eb-abb4-3fcc9582a303] +description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with p" + +[d36d1e13-a7ed-464d-a282-8820cb2261ce] +description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with k" + +[d838b56f-0a89-4c90-b326-f16ff4e1dddc] +description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with x" + +[bce94a7a-a94e-4e2b-80f4-b2bb02e40f71] +description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with q without a following u" + +[c01e049a-e3e2-451c-bf8e-e2abb7e438b8] +description = "some letter clusters are treated like a single consonant -> word beginning with ch" + +[9ba1669e-c43f-4b93-837a-cfc731fd1425] +description = "some letter clusters are treated like a single consonant -> word beginning with qu" + +[92e82277-d5e4-43d7-8dd3-3a3b316c41f7] +description = "some letter clusters are treated like a single consonant -> word beginning with qu and a preceding consonant" + +[79ae4248-3499-4d5b-af46-5cb05fa073ac] +description = "some letter clusters are treated like a single consonant -> word beginning with th" + +[e0b3ae65-f508-4de3-8999-19c2f8e243e1] +description = "some letter clusters are treated like a single consonant -> word beginning with thr" + +[20bc19f9-5a35-4341-9d69-1627d6ee6b43] +description = "some letter clusters are treated like a single consonant -> word beginning with sch" + +[54b796cb-613d-4509-8c82-8fbf8fc0af9e] +description = "some letter clusters are treated like a single vowel -> word beginning with yt" + +[8c37c5e1-872e-4630-ba6e-d20a959b67f6] +description = "some letter clusters are treated like a single vowel -> word beginning with xr" + +[a4a36d33-96f3-422c-a233-d4021460ff00] +description = "position of y in a word determines if it is a consonant or a vowel -> y is treated like a consonant at the beginning of a word" + +[adc90017-1a12-4100-b595-e346105042c7] +description = "position of y in a word determines if it is a consonant or a vowel -> y is treated like a vowel at the end of a consonant cluster" + +[29b4ca3d-efe5-4a95-9a54-8467f2e5e59a] +description = "position of y in a word determines if it is a consonant or a vowel -> y as second letter in two letter word" + +[44616581-5ce3-4a81-82d0-40c7ab13d2cf] +description = "phrases are translated -> a whole phrase" diff --git a/exercises/practice/pig-latin/pig-latin-test.el b/exercises/practice/pig-latin/pig-latin-test.el new file mode 100644 index 00000000..9c9c1cf0 --- /dev/null +++ b/exercises/practice/pig-latin/pig-latin-test.el @@ -0,0 +1,168 @@ +;;; pig-latin-test.el --- Pig Latin (exercism) -*- lexical-binding: t; -*- + +;;; Commentary: + +;;; Code: + + +(load-file "pig-latin.el") +(declare-function translate "pig-latin.el" (phrase)) + + +(ert-deftest word-beginning-with-a () + ;; Function under test: translate + ;; Input: {"phrase":"apple"} + ;; Expected: "appleay" + (should (equal (translate "apple") "appleay"))) + + +(ert-deftest word-beginning-with-e () + ;; Function under test: translate + ;; Input: {"phrase":"ear"} + ;; Expected: "earay" + (should (equal (translate "ear") "earay"))) + + +(ert-deftest word-beginning-with-i () + ;; Function under test: translate + ;; Input: {"phrase":"igloo"} + ;; Expected: "iglooay" + (should (equal (translate "igloo") "iglooay"))) + + +(ert-deftest word-beginning-with-o () + ;; Function under test: translate + ;; Input: {"phrase":"object"} + ;; Expected: "objectay" + (should (equal (translate "object") "objectay"))) + + +(ert-deftest word-beginning-with-u () + ;; Function under test: translate + ;; Input: {"phrase":"under"} + ;; Expected: "underay" + (should (equal (translate "under") "underay"))) + + +(ert-deftest word-beginning-with-a-vowel-and-followed-by-a-qu () + ;; Function under test: translate + ;; Input: {"phrase":"equal"} + ;; Expected: "equalay" + (should (equal (translate "equal") "equalay"))) + + +(ert-deftest word-beginning-with-p () + ;; Function under test: translate + ;; Input: {"phrase":"pig"} + ;; Expected: "igpay" + (should (equal (translate "pig") "igpay"))) + + +(ert-deftest word-beginning-with-k () + ;; Function under test: translate + ;; Input: {"phrase":"koala"} + ;; Expected: "oalakay" + (should (equal (translate "koala") "oalakay"))) + + +(ert-deftest word-beginning-with-x () + ;; Function under test: translate + ;; Input: {"phrase":"xenon"} + ;; Expected: "enonxay" + (should (equal (translate "xenon") "enonxay"))) + + +(ert-deftest word-beginning-with-q-without-a-following-u () + ;; Function under test: translate + ;; Input: {"phrase":"qat"} + ;; Expected: "atqay" + (should (equal (translate "qat") "atqay"))) + + +(ert-deftest word-beginning-with-ch () + ;; Function under test: translate + ;; Input: {"phrase":"chair"} + ;; Expected: "airchay" + (should (equal (translate "chair") "airchay"))) + + +(ert-deftest word-beginning-with-qu () + ;; Function under test: translate + ;; Input: {"phrase":"queen"} + ;; Expected: "eenquay" + (should (equal (translate "queen") "eenquay"))) + + +(ert-deftest word-beginning-with-qu-and-a-preceding-consonant () + ;; Function under test: translate + ;; Input: {"phrase":"square"} + ;; Expected: "aresquay" + (should (equal (translate "square") "aresquay"))) + + +(ert-deftest word-beginning-with-th () + ;; Function under test: translate + ;; Input: {"phrase":"therapy"} + ;; Expected: "erapythay" + (should (equal (translate "therapy") "erapythay"))) + + +(ert-deftest word-beginning-with-thr () + ;; Function under test: translate + ;; Input: {"phrase":"thrush"} + ;; Expected: "ushthray" + (should (equal (translate "thrush") "ushthray"))) + + +(ert-deftest word-beginning-with-sch () + ;; Function under test: translate + ;; Input: {"phrase":"school"} + ;; Expected: "oolschay" + (should (equal (translate "school") "oolschay"))) + + +(ert-deftest word-beginning-with-yt () + ;; Function under test: translate + ;; Input: {"phrase":"yttria"} + ;; Expected: "yttriaay" + (should (equal (translate "yttria") "yttriaay"))) + + +(ert-deftest word-beginning-with-xr () + ;; Function under test: translate + ;; Input: {"phrase":"xray"} + ;; Expected: "xrayay" + (should (equal (translate "xray") "xrayay"))) + + +(ert-deftest y-is-treated-like-a-consonant-at-the-beginning-of-a-word () + ;; Function under test: translate + ;; Input: {"phrase":"yellow"} + ;; Expected: "ellowyay" + (should (equal (translate "yellow") "ellowyay"))) + + +(ert-deftest y-is-treated-like-a-vowel-at-the-end-of-a-consonant-cluster () + ;; Function under test: translate + ;; Input: {"phrase":"rhythm"} + ;; Expected: "ythmrhay" + (should (equal (translate "rhythm") "ythmrhay"))) + + +(ert-deftest y-as-second-letter-in-two-letter-word () + ;; Function under test: translate + ;; Input: {"phrase":"my"} + ;; Expected: "ymay" + (should (equal (translate "my") "ymay"))) + + +(ert-deftest a-whole-phrase () + ;; Function under test: translate + ;; Input: {"phrase":"quick fast run"} + ;; Expected: "ickquay astfay unray" + (should (equal (translate "quick fast run") "ickquay astfay unray"))) + + +(provide 'pig-latin-test) +;;; pig-latin-test.el ends here + diff --git a/exercises/practice/pig-latin/pig-latin.el b/exercises/practice/pig-latin/pig-latin.el new file mode 100644 index 00000000..5824d6e0 --- /dev/null +++ b/exercises/practice/pig-latin/pig-latin.el @@ -0,0 +1,14 @@ +;;; pig-latin.el --- Pig Latin (exercism) -*- lexical-binding: t; -*- + +;;; Commentary: + +;;; Code: + + +(defun translate (phrase) + (error "Delete this S-Expression and write your own implementation")) + + +(provide 'pig-latin) +;;; pig-latin.el ends here + From ec5abb9f69e4ed0539c801eb350244564120b719 Mon Sep 17 00:00:00 2001 From: Kevin Marker Date: Mon, 10 Jun 2024 11:48:58 -0500 Subject: [PATCH 2/3] set to medium difficulty, remove comments, use string= --- config.json | 2 +- .../practice/pig-latin/pig-latin-test.el | 113 ++++-------------- 2 files changed, 25 insertions(+), 90 deletions(-) diff --git a/config.json b/config.json index ca62c166..1a2f8f7a 100644 --- a/config.json +++ b/config.json @@ -813,7 +813,7 @@ "uuid": "3bee6827-8766-4d4d-9d0f-3facc3bfd3f4", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 5 } ] }, diff --git a/exercises/practice/pig-latin/pig-latin-test.el b/exercises/practice/pig-latin/pig-latin-test.el index 9c9c1cf0..0f9527ac 100644 --- a/exercises/practice/pig-latin/pig-latin-test.el +++ b/exercises/practice/pig-latin/pig-latin-test.el @@ -5,162 +5,97 @@ ;;; Code: -(load-file "pig-latin.el") +;;; (load-file "pig-latin.el") +(load-file ".meta/example.el") (declare-function translate "pig-latin.el" (phrase)) (ert-deftest word-beginning-with-a () - ;; Function under test: translate - ;; Input: {"phrase":"apple"} - ;; Expected: "appleay" - (should (equal (translate "apple") "appleay"))) + (should (string= (translate "apple") "appleay"))) (ert-deftest word-beginning-with-e () - ;; Function under test: translate - ;; Input: {"phrase":"ear"} - ;; Expected: "earay" - (should (equal (translate "ear") "earay"))) + (should (string= (translate "ear") "earay"))) (ert-deftest word-beginning-with-i () - ;; Function under test: translate - ;; Input: {"phrase":"igloo"} - ;; Expected: "iglooay" - (should (equal (translate "igloo") "iglooay"))) + (should (string= (translate "igloo") "iglooay"))) (ert-deftest word-beginning-with-o () - ;; Function under test: translate - ;; Input: {"phrase":"object"} - ;; Expected: "objectay" - (should (equal (translate "object") "objectay"))) + (should (string= (translate "object") "objectay"))) (ert-deftest word-beginning-with-u () - ;; Function under test: translate - ;; Input: {"phrase":"under"} - ;; Expected: "underay" - (should (equal (translate "under") "underay"))) + (should (string= (translate "under") "underay"))) (ert-deftest word-beginning-with-a-vowel-and-followed-by-a-qu () - ;; Function under test: translate - ;; Input: {"phrase":"equal"} - ;; Expected: "equalay" - (should (equal (translate "equal") "equalay"))) + (should (string= (translate "equal") "equalay"))) (ert-deftest word-beginning-with-p () - ;; Function under test: translate - ;; Input: {"phrase":"pig"} - ;; Expected: "igpay" - (should (equal (translate "pig") "igpay"))) + (should (string= (translate "pig") "igpay"))) (ert-deftest word-beginning-with-k () - ;; Function under test: translate - ;; Input: {"phrase":"koala"} - ;; Expected: "oalakay" - (should (equal (translate "koala") "oalakay"))) + (should (string= (translate "koala") "oalakay"))) (ert-deftest word-beginning-with-x () - ;; Function under test: translate - ;; Input: {"phrase":"xenon"} - ;; Expected: "enonxay" - (should (equal (translate "xenon") "enonxay"))) + (should (string= (translate "xenon") "enonxay"))) (ert-deftest word-beginning-with-q-without-a-following-u () - ;; Function under test: translate - ;; Input: {"phrase":"qat"} - ;; Expected: "atqay" - (should (equal (translate "qat") "atqay"))) + (should (string= (translate "qat") "atqay"))) (ert-deftest word-beginning-with-ch () - ;; Function under test: translate - ;; Input: {"phrase":"chair"} - ;; Expected: "airchay" - (should (equal (translate "chair") "airchay"))) + (should (string= (translate "chair") "airchay"))) (ert-deftest word-beginning-with-qu () - ;; Function under test: translate - ;; Input: {"phrase":"queen"} - ;; Expected: "eenquay" - (should (equal (translate "queen") "eenquay"))) + (should (string= (translate "queen") "eenquay"))) (ert-deftest word-beginning-with-qu-and-a-preceding-consonant () - ;; Function under test: translate - ;; Input: {"phrase":"square"} - ;; Expected: "aresquay" - (should (equal (translate "square") "aresquay"))) + (should (string= (translate "square") "aresquay"))) (ert-deftest word-beginning-with-th () - ;; Function under test: translate - ;; Input: {"phrase":"therapy"} - ;; Expected: "erapythay" - (should (equal (translate "therapy") "erapythay"))) + (should (string= (translate "therapy") "erapythay"))) (ert-deftest word-beginning-with-thr () - ;; Function under test: translate - ;; Input: {"phrase":"thrush"} - ;; Expected: "ushthray" - (should (equal (translate "thrush") "ushthray"))) + (should (string= (translate "thrush") "ushthray"))) (ert-deftest word-beginning-with-sch () - ;; Function under test: translate - ;; Input: {"phrase":"school"} - ;; Expected: "oolschay" - (should (equal (translate "school") "oolschay"))) + (should (string= (translate "school") "oolschay"))) (ert-deftest word-beginning-with-yt () - ;; Function under test: translate - ;; Input: {"phrase":"yttria"} - ;; Expected: "yttriaay" - (should (equal (translate "yttria") "yttriaay"))) + (should (string= (translate "yttria") "yttriaay"))) (ert-deftest word-beginning-with-xr () - ;; Function under test: translate - ;; Input: {"phrase":"xray"} - ;; Expected: "xrayay" - (should (equal (translate "xray") "xrayay"))) + (should (string= (translate "xray") "xrayay"))) (ert-deftest y-is-treated-like-a-consonant-at-the-beginning-of-a-word () - ;; Function under test: translate - ;; Input: {"phrase":"yellow"} - ;; Expected: "ellowyay" - (should (equal (translate "yellow") "ellowyay"))) + (should (string= (translate "yellow") "ellowyay"))) (ert-deftest y-is-treated-like-a-vowel-at-the-end-of-a-consonant-cluster () - ;; Function under test: translate - ;; Input: {"phrase":"rhythm"} - ;; Expected: "ythmrhay" - (should (equal (translate "rhythm") "ythmrhay"))) + (should (string= (translate "rhythm") "ythmrhay"))) (ert-deftest y-as-second-letter-in-two-letter-word () - ;; Function under test: translate - ;; Input: {"phrase":"my"} - ;; Expected: "ymay" - (should (equal (translate "my") "ymay"))) + (should (string= (translate "my") "ymay"))) (ert-deftest a-whole-phrase () - ;; Function under test: translate - ;; Input: {"phrase":"quick fast run"} - ;; Expected: "ickquay astfay unray" - (should (equal (translate "quick fast run") "ickquay astfay unray"))) + (should (string= (translate "quick fast run") "ickquay astfay unray"))) (provide 'pig-latin-test) From 2c8e14e14e428f50135f9f1dfd50efcc7157dc74 Mon Sep 17 00:00:00 2001 From: Kevin Marker Date: Mon, 10 Jun 2024 12:17:34 -0500 Subject: [PATCH 3/3] load stub not example --- exercises/practice/pig-latin/pig-latin-test.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exercises/practice/pig-latin/pig-latin-test.el b/exercises/practice/pig-latin/pig-latin-test.el index 0f9527ac..d3540983 100644 --- a/exercises/practice/pig-latin/pig-latin-test.el +++ b/exercises/practice/pig-latin/pig-latin-test.el @@ -5,8 +5,7 @@ ;;; Code: -;;; (load-file "pig-latin.el") -(load-file ".meta/example.el") +(load-file "pig-latin.el") (declare-function translate "pig-latin.el" (phrase))