Skip to content

Commit

Permalink
helps to have RADIUS tests which mirror data_types.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Aug 20, 2019
1 parent f94daa0 commit e4b7312
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/tests/unit/radius_unit.txt
Expand Up @@ -51,3 +51,13 @@ data f5 0d 1a 00 00 00 2c 50 01 00 00 00 01 f5 0d 1a 00 00 00 2c 50 01 00 00 00


decode-pair - decode-pair -
data Unit-EVS-5-Integer = 1, Unit-EVS-5-Integer = 2 data Unit-EVS-5-Integer = 1, Unit-EVS-5-Integer = 2

encode-pair Event-Timestamp := 864000
data 37 06 00 0d 2f 00

# Same as from "data_types.txt"
decode-pair -
data Event-Timestamp = "Jan 11 1970 00:00:00 GMT"

encode-pair -
data 37 06 00 0d 2f 00

0 comments on commit e4b7312

Please sign in to comment.