[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs 5780c37396 044/472: Add UT for pacman-make-anim fu
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs 5780c37396 044/472: Add UT for pacman-make-anim function |
Date: |
Thu, 6 Jan 2022 21:59:11 -0500 (EST) |
branch: elpa/pacmacs
commit 5780c37396c5652a352977814ee8d95737e03567
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Add UT for pacman-make-anim function
---
test/pacman-anim-test.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/pacman-anim-test.el b/test/pacman-anim-test.el
index 74e32eade1..2f594bdb04 100644
--- a/test/pacman-anim-test.el
+++ b/test/pacman-anim-test.el
@@ -1,6 +1,11 @@
(require 'cl) ;el-mock doesn't work without
;this
+(ert-deftest pacman-make-anim-test ()
+ (should (equal (list :frames (list 1 2 3 4 5)
+ :current-frame 0)
+ (pacman-make-anim (number-sequence 1 5)))))
+
(ert-deftest pacman-anim-get-frame-test ()
(let ((anim (list :frames (number-sequence 1 5)
:current-frame 2)))
- [nongnu] elpa/pacmacs 96ad2016a1 001/472: Add initial code for pacman game, (continued)
- [nongnu] elpa/pacmacs 96ad2016a1 001/472: Add initial code for pacman game, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 8eddfbd0df 005/472: Implement resource application layer. Close #3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e75db415af 013/472: Enable travis. Close #14, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 646db1b62a 022/472: Kill game window on quit. Close #17, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b8d1136c3a 014/472: Extract pacman-anim module (#19), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 929fda2cb4 016/472: Define package in Cask file directly (#19), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 043c660152 038/472: Clean up usage instructions in README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 58cf91b060 032/472: Enable undercover (#27), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 30b5c43879 040/472: License header (#28):, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 59b5b95c2d 039/472: Share the sprites source files. Close #25, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5780c37396 044/472: Add UT for pacman-make-anim function,
ELPA Syncer <=
- [nongnu] elpa/pacmacs 1f32ee2489 048/472: Implement board state (#5), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1b26ae45fc 055/472: Convert sprites to XPM. Close #49, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 03a96041d9 056/472: Add a README note about limitations. Close #45, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 13593c3f25 003/472: Remove logging, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e788307d07 007/472: Implement animation. Close #10, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7a713ac0b7 010/472: Add UTs again, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs da5576a321 008/472: Add UTs. Close #6, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 515b977a4c 026/472: Add UT for pacman-anim-next-frame function (#22), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 03bdb3388f 012/472: Add README. Close #18, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 8283a893c2 018/472: Update README, ELPA Syncer, 2022/01/06