File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
ToolGood.Algorithm2.Test/AlgorithmEngineHelper
ToolGood.Algorithm2/Internals
java/toolgood.algorithm/src/test/java/toolgood/algorithm/Tests3 Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public void Test()
3030
3131 DiyNameInfo p3 = AlgorithmEngineHelper . GetDiyNames ( "【dd】" ) ;
3232 Assert . AreEqual ( "dd" , p3 . Parameters [ 0 ] ) ;
33+ p3 = AlgorithmEngineHelper . GetDiyNames ( "【dd.1】" ) ;
34+ Assert . AreEqual ( "dd.1" , p3 . Parameters [ 0 ] ) ;
3335
3436 DiyNameInfo p4 = AlgorithmEngineHelper . GetDiyNames ( "@ddd+2" ) ;
3537 Assert . AreEqual ( "ddd" , p4 . Parameters [ 0 ] ) ;
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ public static char StandardChar(char o)
2222 if ( o == '×' ) return '*' ;
2323 if ( o == '÷' ) return '/' ;
2424 //if (o == '/') return '/';
25- if ( o == '【' ) return '[' ;
26- if ( o == '】' ) return ']' ;
25+ // if (o == '【') return '[';
26+ // if (o == '】') return ']';
2727 //if (o == '(') return '(';
2828 //if (o == ')') return ')';
2929 //if (o == ',') return ',';
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ public void Test() throws Exception {
2828
2929 DiyNameInfo p3 = AlgorithmEngineHelper .GetDiyNames ("【dd】" );
3030 assertEquals ("dd" , p3 .Parameters .get (0 ));
31+ p3 = AlgorithmEngineHelper .GetDiyNames ("【dd.1】" );
32+ assertEquals ("dd.1" , p3 .Parameters .get (0 ));
3133
3234 DiyNameInfo p4 = AlgorithmEngineHelper .GetDiyNames ("@ddd+2" );
3335 assertEquals ("ddd" , p4 .Parameters .get (0 ));
You can’t perform that action at this time.
0 commit comments