Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1035356 // test_structure_TransientObject

JavaX fragment (include)

1  
scope test_structure_TransientObject
2  
3  
sclass #X is TransientObject {
4  
  S member = "value";
5  
}
6  
7  
svoid test_structure_TransientObject() {
8  
  new X x;
9  
  assertEqualsVerbose("j " + quote(str(x)), struct(x));
10  
}

Author comment

Began life as a copy of #1035334

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035356
Snippet name: test_structure_TransientObject
Eternal ID of this version: #1035356/3
Text MD5: abeca290233a74dd8ad4a1e3457cfc58
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-01 21:34:48
Source code size: 212 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 78 / 90
Version history: 2 change(s)
Referenced in: [show references]