Sun calculation js library which is fully based on formula from http://aa.quae.nl/en/reken/zonpositie.html
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
582 B
24 lines
582 B
7 years ago
|
[
|
||
|
{
|
||
|
"description": "pattern validation",
|
||
|
"schema": {"pattern": "^a*$"},
|
||
|
"tests": [
|
||
|
{
|
||
|
"description": "a matching pattern is valid",
|
||
|
"data": "aaa",
|
||
|
"valid": true
|
||
|
},
|
||
|
{
|
||
|
"description": "a non-matching pattern is invalid",
|
||
|
"data": "abc",
|
||
|
"valid": false
|
||
|
},
|
||
|
{
|
||
|
"description": "ignores non-strings",
|
||
|
"data": true,
|
||
|
"valid": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|