aboutsummaryrefslogtreecommitdiffstats
path: root/Tests.st
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-24 11:00:54 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-24 11:00:54 +0100
commite6be1d2325d698eecae8aa72ac6c0fe9e2f03ff8 (patch)
tree9aefa9e0681d8fd9e0d397b73cf880c26fbd9cb6 /Tests.st
parenteac99b8d7853f94a5156557523bc1c29244f8aba (diff)
SCCP: Test encoding the CR message again
Diffstat (limited to 'Tests.st')
-rw-r--r--Tests.st3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests.st b/Tests.st
index 6761e3a..07cca32 100644
--- a/Tests.st
+++ b/Tests.st
@@ -50,6 +50,9 @@ TestCase subclass: SCCPTests [
self assert: cr src = 16r0300BF.
self assert: cr dest asByteArray = (SCCPAddress createWith: 254) asByteArray.
self assert: cr data = '1234' asByteArray.
+
+ "now encode it again"
+ self assert: cr toMessage asByteArray = target.
]
testCC [