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

12
LINES

< > BotCompany Repo | #1022821 // test_standard_toString

JavaX fragment (include)

scope test_standard_toString.

sclass #Bla {
  S x, y;
}
  
svoid test_standard_toString() {
  assertEqualsVerbose("test_standard_toString_Bla(x=a)", standard_toString(setAll(new Bla, x := "a")));
  assertEqualsVerbose("test_standard_toString_Bla(x=a, y=b)", standard_toString(setAll(new Bla, x := "a", y := "b")));
}

end scope

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022821
Snippet name: test_standard_toString
Eternal ID of this version: #1022821/2
Text MD5: ada10dc1d46de63161b7a49fce12c1b8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-09 11:09:47
Source code size: 339 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 292 / 346
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)