This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "duktape/src/duktape.h" | |
// #include <SDL2/SDL.h> | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; open up a mini-eshell | |
(defun quarter-window-vertically () | |
"create a new window a quarter size of the current window" | |
(split-window-vertically) | |
(other-window 1) | |
(split-window-vertically) | |
(other-window -1) | |
(delete-window) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it("should be able to set/get the 'linecolor' option", function () { | |
var r = new FillRenderer(); | |
expect(function () { | |
r.setOption("linecolor", window.multigraph.math.RGBColor.parse("0x123456")); | |
}).not.toThrow(); | |
}); |