-
Notifications
You must be signed in to change notification settings - Fork 0
/
integer.json
58 lines (58 loc) · 929 Bytes
/
integer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"$schema": "./schema.json",
"name": "Simple Number",
"difficulty": 1,
"description": "Write a Regex that can match a positive or negative number.",
"category": "Data",
"tests": {
"shouldMatch": [
{
"value": "1",
"match": []
},
{
"value": "0",
"match": []
},
{
"value": "50540",
"match": []
},
{
"value": "5980522015487",
"match": []
},
{
"value": "-10",
"match": []
},
{
"value": "-9874",
"match": []
}
],
"shouldNotMatch": [
{
"value": "05"
},
{
"value": "-0548"
},
{
"value": "ab21"
},
{
"value": "000"
},
{
"value": "048-7004"
},
{
"value": "0487004-"
},
{
"value": "--0487004"
}
]
}
}