Skip to content

Commit 9e3c900

Browse files
author
halirutan
committed
Merge branch 'code_testing' into develop
2 parents 529f62e + 59cbbe8 commit 9e3c900

11 files changed

Lines changed: 789 additions & 2 deletions

File tree

.idea/runConfigurations/Mathematica_Plugin.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Mathematica-IntelliJ-Plugin.iml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<content url="file://$MODULE_DIR$">
66
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
77
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
8+
<sourceFolder url="file://$MODULE_DIR$/testData" type="java-test-resource" />
9+
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
810
</content>
911
<orderEntry type="inheritedJdk" />
1012
<orderEntry type="sourceFolder" forTests="false" />

testData/de/halirutan/mathematica/parsing/Assignment.m

Whitespace-only changes.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Bar::usage = "Bar[x,y]";
2+
Bar::argX = "Nothing here.";
3+
Bar /: Plus[Bar, Foo] := myPlus[Bar, Foo];
4+
Bar /: Plus[Bar, Foo] = Plus;
5+
Times[Bar, Foo2] ^:= myTimes[Bar, Foo];
6+
Bar[x_, y_] := {x, y};
7+
Bar = 3;
8+
Default[Bar] = 0;
9+
N[myPi] = 3;
10+
myVariable = 3;
11+
Format[Bar[x_, y_]] := MatrixForm[{{x}, {y}}];
12+
SyntaxInformation[Bar] = {};
13+
Ber = 3;
14+
SetAttributes[Bar, {Listable}];
15+
head[Bar] ^= poing;
16+
17+
myHead = Boing;
18+
f[x_myHead] := x^2;
19+
20+
Options[Bar] = {};
21+
22+
Message[Bar::usage]
23+
For[k = 0, k > max, k++, body]
24+
25+
(p : IPCUProperties[props : {_Rule..}])[Write] := Module[{},test]

0 commit comments

Comments
 (0)