mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #2771 from ibnfirnas/add-mathematica-test-file-extension
Add mathematica unit test file extension
This commit is contained in:
@@ -2061,6 +2061,7 @@ Mathematica:
|
|||||||
- .cdf
|
- .cdf
|
||||||
- .m
|
- .m
|
||||||
- .ma
|
- .ma
|
||||||
|
- .mt
|
||||||
- .nb
|
- .nb
|
||||||
- .nbp
|
- .nbp
|
||||||
- .wl
|
- .wl
|
||||||
|
|||||||
1
samples/Mathematica/TestArithmetic.mt
Normal file
1
samples/Mathematica/TestArithmetic.mt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Test[1 + 2, 3, TestID -> "One plus two"]
|
||||||
1
samples/Mathematica/TestString.mt
Normal file
1
samples/Mathematica/TestString.mt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Test[1"a" <> "b", "ab", TestID -> "Concat \"a\" and \"b\""]
|
||||||
5
samples/Mathematica/TestSuite.mt
Normal file
5
samples/Mathematica/TestSuite.mt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
TestSuite[
|
||||||
|
{ "TestArithmetic.mt"
|
||||||
|
, "TestString.mt"
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user