Artifact b13e81d993625f8720a42f070babda0b5646cce6:
- File bindings/s2/require.d/BufferFactory.test.s2 — part of check-in [fdc5e1014e] at 2021-02-11 12:42:23 on branch trunk — Moved C++ and s2 bindings to bindings/{cpp,s2}. Got the C++ bindings compiling for new gcc breakage and new, stricter T-card validation. (user: stephan size: 308)
- File s2/require.d/BufferFactory.test.s2 — part of check-in [b9d3c27a12] at 2014-08-30 06:25:15 on branch trunk — latest s2/requires2. (user: stephan size: 308)
/** A require.s2 module which returns an object containing "factory methods" for creating Buffers. */ requireS2( ['BufferFactory'], proc(bfac){ var b = bfac.new(100); affirm b.capacity()>=100; b = bfac.readFile(__FILE); affirm 'buffer' === typename b; affirm b.length()>50; });