assertEquals("Expect WString magic", new WString(MAGIC), s);
}
public void testInvokeStructure() {
SimpleStructure.allocations = 0;
SimpleStructure s = lib.returnStaticTestStructure();
assertEquals("Expect test structure magic", DOUBLE_MAGIC, s.value, 0d);
// Optimized structure allocation
assertEquals("Returned Structure should allocate no memory", 0, SimpleStructure.allocations);
}