mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Rename samples subdirectories
This commit is contained in:
14
samples/Scilab/scilab_function.sci
Normal file
14
samples/Scilab/scilab_function.sci
Normal file
@@ -0,0 +1,14 @@
|
||||
// A comment with whites and tabulations
|
||||
// Email: <scilab.support@scilab.org>
|
||||
// Scilab editor: http://www.scilab.org/
|
||||
function [a, b] = myfunction(d, e, f)
|
||||
a = 2.71828 + %pi + f($, :);
|
||||
b = cos(a) + cosh(a);
|
||||
if d == e then
|
||||
b = 10 - e.field;
|
||||
else
|
||||
b = " test " + home
|
||||
return
|
||||
end
|
||||
myvar = 1.23e-45;
|
||||
endfunction
|
||||
2
samples/Scilab/scilab_script.sce
Normal file
2
samples/Scilab/scilab_script.sce
Normal file
@@ -0,0 +1,2 @@
|
||||
disp(%pi);
|
||||
|
||||
3
samples/Scilab/scilab_test.tst
Normal file
3
samples/Scilab/scilab_test.tst
Normal file
@@ -0,0 +1,3 @@
|
||||
assert_checkequal(1+1,2);
|
||||
assert_checkfalse(%pi==%e);
|
||||
|
||||
Reference in New Issue
Block a user