[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs b8fce3e847 028/472: Add UT for pacman-convert-asep
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs b8fce3e847 028/472: Add UT for pacman-convert-aseprite-frame function (#22) |
Date: |
Thu, 6 Jan 2022 21:59:02 -0500 (EST) |
branch: elpa/pacmacs
commit b8fce3e8478d5c0ff4ae43ab28c9305aabb56eeb
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Add UT for pacman-convert-aseprite-frame function (#22)
---
test/pacman-anim-test.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/test/pacman-anim-test.el b/test/pacman-anim-test.el
index 732c2c6e49..3fcb74d7ba 100644
--- a/test/pacman-anim-test.el
+++ b/test/pacman-anim-test.el
@@ -19,3 +19,15 @@
(pacman-anim-object-next-frame anim-object)
(should (equal '(:animation 42)
anim-object)))))
+
+(ert-deftest pacman-convert-aseprite-frame-test ()
+ (let ((aseprite-frame '(khooy
+ (foo . bar)
+ (frame
+ (x . 1)
+ (y . 2)
+ (h . 3)
+ (w . 4))))
+ (expected-frame (list 1 2 4 3)))
+ (should (equal expected-frame
+ (pacman-convert-aseprite-frame aseprite-frame)))))
- [nongnu] branch elpa/pacmacs created (now 25a8c30210), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs bd5970816f 002/472: Check if the killing buffer is ours. Close #1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6124aa2061 009/472: Fix Copyright year, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2d818f9a49 006/472: Implement rendering of game state. Close #8, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3ff080432f 015/472: Extract pacman-resources module (#19), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b8fce3e847 028/472: Add UT for pacman-convert-aseprite-frame function (#22),
ELPA Syncer <=
- [nongnu] elpa/pacmacs 179ea99635 021/472: Add our own sprites. Close #13, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d0dc2eff12 027/472: Ad UT for pacman-anim-object-next-frame function (#22), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs abb1f366fb 031/472: Merge branch 'uts-for-aseprite-animation-support-22'. Close #22, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs fe05829cd3 004/472: Fix kill buffer problem. Close #7, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 0a532ddc58 011/472: Add gitignore, ELPA Syncer, 2022/01/06
- [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