[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs 80f25498d6 270/472: Add initial UT for pacmacs--cr
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs 80f25498d6 270/472: Add initial UT for pacmacs--create-wall-tile |
Date: |
Thu, 6 Jan 2022 21:59:31 -0500 (EST) |
branch: elpa/pacmacs
commit 80f25498d6bb8a0029eb20e2bb95b93bf9a530db
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Add initial UT for pacmacs--create-wall-tile
---
test/pacmacs-image-test.el | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/test/pacmacs-image-test.el b/test/pacmacs-image-test.el
index 1fa7bba3d8..70661797d4 100644
--- a/test/pacmacs-image-test.el
+++ b/test/pacmacs-image-test.el
@@ -59,3 +59,17 @@
(-lambda ((bit-list . number))
(should (= number (pacmacs--bit-list-to-integer
bit-list)))))))
+
+(ert-deftest pacmacs--create-wall-tile-test ()
+ (with-mock
+ (mock (pacmacs--bit-list-to-integer *) => 0)
+ (mock (gethash * *) => nil)
+ (mock (puthash * * *) => nil)
+ (mock (create-image * * *) => nil)
+ (mock (pacmacs--bits-to-xpm [[nil t t t]
+ [t t t t]
+ [t t t t]
+ [t t t t]]
+ 4 4))
+ (pacmacs--create-wall-tile 4 4 t t nil nil
+ nil nil nil nil)))
- [nongnu] elpa/pacmacs 548155de50 456/472: Dash the mode labels (#203), (continued)
- [nongnu] elpa/pacmacs 548155de50 456/472: Dash the mode labels (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5e0bcba1ee 468/472: Merge pull request #224 from basil-conto/blc/dash, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b68e557f36 064/472: Refactor pacman-load-anim function. Close #53, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3a3ead9ac1 083/472: Support dash. Close #65, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6365c3db7b 086/472: Remove ghost-state instead of player-state, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3cbd9508d8 089/472: Merge branch 'coverage-broken-68'. Close #68, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2331e2074c 262/472: Automate Pill sprites generating (#26), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d980f5dbe2 454/472: Introduce with-render-target macro (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d813e9c62c 466/472: Merge pull request #214 from codingteam/qfix/bump-copyright-year, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b6c02d6f38 264/472: Automate Pacman Death sprites generating (#26), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 80f25498d6 270/472: Add initial UT for pacmacs--create-wall-tile,
ELPA Syncer <=
- [nongnu] elpa/pacmacs ad201e341a 271/472: Add UT for pacmacs--bits-to-xpm, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ea74310be3 275/472: Add README for sprites. Close #148, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 80f16102c5 291/472: Implement unterrifying timed out ghosts (#153), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 609416d41a 057/472: Fix delete minibuffer or sole ordinary window error. Close #42, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 43cc1205c6 066/472: Try to fix pacman-image UTs after #52, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e44bade6bf 087/472: Fix lambda expressions (#68), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2dac90bc61 092/472: Merge branch 'entire-code-coverage-70'. Close #70, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2fdeb1dbdf 188/472: Try to remove compilation step (#124), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a8bbb61bf8 189/472: Try to remove elcs after the compilation (#124), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7729f08230 196/472: Rename render-board to object-board (#126), ELPA Syncer, 2022/01/06