Mercurial > hg > may
diff yetilab/plot/test/test_plot.yeti @ 125:0f362d1de06e
Toward stacked charts
author | Chris Cannam |
---|---|
date | Sat, 20 Apr 2013 12:14:40 +0100 |
parents | |
children | 9baaaf37a008 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/yetilab/plot/test/test_plot.yeti Sat Apr 20 12:14:40 2013 +0100 @@ -0,0 +1,23 @@ +module yetilab.plot.test.test_plot; + +p = load yetilab.plot.plot; + +{ compare } = load yetilab.test.test; + +[ + +"stack": \( + compare + (p.stack + [ "Conrad", "Alice", "Bob" ] + [ "Jan", "Feb", "Mar" ] + [ "Alice": [ "Jan": 3, "Mar": 2 ], + "Bob": [ "Jan": 0, "Feb": 1, "Mar": 4 ], + "Conrad": [ "Feb": 2, "Mar": 1 ] ]) + [ "Conrad": [ "Jan": 0, "Feb": 2, "Mar": 1 ], + "Alice": [ "Jan": 3, "Feb": 2, "Mar": 3 ], + "Bob": [ "Jan": 3, "Feb": 3, "Mar": 7 ] ] +), + +] is hash<string, () -> boolean>; +