Skip to content

Commit

Permalink
Update decode success tests for cbor
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Feb 26, 2025
1 parent d74ab6e commit a09406a
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1407,24 +1407,24 @@
},
{
"description": "tag - 0/min",
"input": "c001",
"input": "c074323030332D31322D31335431383A33303A30325A",
"expect": {
"tag": {
"id": 0,
"value": {
"uint": 1
"string": "2003-12-13T18:30:02Z"
}
}
}
},
{
"description": "tag - 1/min",
"input": "d80001",
"input": "d80074323030332D31322D31335431383A33303A30325A",
"expect": {
"tag": {
"id": 0,
"value": {
"uint": 1
"string": "2003-12-13T18:30:02Z"
}
}
}
Expand All @@ -1443,24 +1443,24 @@
},
{
"description": "tag - 4/min",
"input": "da0000000001",
"input": "da0000000074323030332D31322D31335431383A33303A30325A",
"expect": {
"tag": {
"id": 0,
"value": {
"uint": 1
"string": "2003-12-13T18:30:02Z"
}
}
}
},
{
"description": "tag - 8/min",
"input": "db000000000000000001",
"input": "db000000000000000074323030332D31322D31335431383A33303A30325A",
"expect": {
"tag": {
"id": 0,
"value": {
"uint": 1
"string": "2003-12-13T18:30:02Z"
}
}
}
Expand All @@ -1479,22 +1479,22 @@
},
{
"description": "tag - 2/min",
"input": "d9000001",
"input": "d9000074323030332D31322D31335431383A33303A30325A",
"expect": {
"tag": {
"id": 0,
"value": {
"uint": 1
"string": "2003-12-13T18:30:02Z"
}
}
}
},
{
"description": "tag - 2/max",
"input": "d9ffff01",
"input": "d9fffe01",
"expect": {
"tag": {
"id": 65535,
"id": 65534,
"value": {
"uint": 1
}
Expand All @@ -1503,10 +1503,10 @@
},
{
"description": "tag - 4/max",
"input": "daffffffff01",
"input": "dafffffffe01",
"expect": {
"tag": {
"id": 4294967295,
"id": 4294967294,
"value": {
"uint": 1
}
Expand All @@ -1515,10 +1515,10 @@
},
{
"description": "tag - 8/max",
"input": "dbffffffffffffffff01",
"input": "dbfffffffffffffffe01",
"expect": {
"tag": {
"id": 18446744073709551615,
"id": 18446744073709551614,
"value": {
"uint": 1
}
Expand Down

0 comments on commit a09406a

Please sign in to comment.