Skip to content

Commit db3ac41

Browse files
new 0.5.4 features
1 parent abd2329 commit db3ac41

4 files changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Nelson has been developed to be an open/modular system where an user can define
4949
- [Nelson in the Cloud](CLOUD.md) ☁️,
5050
- [Audio module](AUDIO.md),
5151
- [UNICODE and charset support](CHARSET.md),
52+
- [validators functions](VALIDATORS.md),
5253
- [Code editor](CODE_EDITOR.md).
5354

5455
## [Sources](https://github.com/Nelson-numerical-software/nelson)
@@ -72,7 +73,9 @@ The systems listed here without CI or binaries are known to build and operate, b
7273
| Windows 7+ | x86-64 (64-bit) |||
7374
| | i686 (32-bit) |||
7475
| MacOS 10.10+ | x86-64 (64-bit) || |
76+
| Ubuntu 20.04 | x86-64 (64-bit) | | |
7577
| Ubuntu 18.04 | x86-64 (64-bit) || |
78+
| Ubuntu 16.04 | x86-64 (64-bit) || |
7679
| Debian 10 | x86-64 (64-bit) || |
7780
| Fedora 30 | x86-64 (64-bit) || |
7881
| ArchLinux | x86-64 (64-bit) || |

TESTSENGINE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## Tests engine
22

33
Validate your algorithm using Nelson dedicated [functions](https://nelson-numerical-software.github.io/nelson-website/help/en_US/chapter_assert_functions.html).
4+
5+
Since v0.5.4, tests are executed on multiple workers on all platforms supported (linux, mac and windows).
46
![alt text](https://github.com/Nelson-numerical-software/nelson-website/raw/master/images/test_run.png "test_run")
57

68
Export the test results under the xUnit reports format.

VALIDATORS.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Validators functions
2+
3+
Property Validation Functions:
4+
These functions support common use patterns for validation and provide descriptive error messages.
5+
6+
```nelson
7+
function r = myFunction(arg1, arg2)
8+
mustBeFloat(arg1, 1)
9+
mustBeFloat(arg2, 2)
10+
mustBeScalarOrEmpty(arg1, 1)
11+
mustBeScalarOrEmpty(arg2, 2)
12+
r = arg1 + arg2
13+
endfunction
14+
```
15+
16+
```nelson
17+
r = myFunction('a', 2)
18+
r = myFunction([1 2], 2)
19+
r = myFunction(1, [3 2])
20+
```
21+
22+
See help about [validations function](https://nelson-numerical-software.github.io/nelson-website/help/en_US/chapter_validators.html)
23+
24+
[Previous page](FEATURES.md)

images/test_run.png

-8.83 KB
Loading

0 commit comments

Comments
 (0)