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

12
LINES

< > BotCompany Repo | #1032664 // test_simpleCalc

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

Transpiled version (5602L) is out of date.

1  
set flag ShuntingYardParser_debug.
2  
3  
svoid test_simpleCalc() {
4  
  testFunctionValues simpleCalc(
5  
    "1+2*3", 7.0,
6  
    "1 + 2 * 3", 7.0,
7  
    "-3e2", -300.0,
8  
    " - 3e2 ", -300.0,
9  
    "-(1+2)", -3.0,
10  
    " - ( 1 + 2 ) ", -3.0,
11  
  );
12  
}

Author comment

Began life as a copy of #1032663

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032664
Snippet name: test_simpleCalc
Eternal ID of this version: #1032664/5
Text MD5: 807bc657378e86a3884ff4c2bb2d6710
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-02 01:16:14
Source code size: 242 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 147 / 216
Version history: 4 change(s)
Referenced in: [show references]