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

6
LINES

< > BotCompany Repo | #1036330 // test_TickerSequence

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (15796L/89K).

1  
svoid test_TickerSequence() {
2  
  new TickerSequence ts;
3  
  ts.addIfPriceChanged(100, 10);
4  
  ts.addIfPriceChanged(100, 20);
5  
  assertEqualsVerbose(1, ts.size());
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036330
Snippet name: test_TickerSequence
Eternal ID of this version: #1036330/1
Text MD5: 0605767a9b2debfba9ffc0a43b702b0e
Transpilation MD5: f5056e2989f628e47d9aa04dcb9cfaa9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-19 00:27:42
Source code size: 164 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 123 / 167
Referenced in: [show references]