root/trunk/tests/tab.md

Revision 243, 362 bytes (checked in by JarrettBillingsley, 1 year ago)

--

Line 
1 // NOTE TO SELF: This does not run successfully with -cov enabled in the host.  Causes a Heisenbug.
2 module tests.tab;
3
4 local t = {x = 1};
5 t.dup();
6 t.keys();
7 t.values();
8 foreach(v; t){}
9 t.each(function(){});
10 table.dup(t);
11 table.keys(t);
12 table.values(t);
13 table.each(t, function(){});
14 table.set(t, 0, 1);
15 table.get(t, 0);
16 foreach(v; table.apply(t)){}
Note: See TracBrowser for help on using the browser.