mirror of
https://github.com/aziascreations/PB-MessagePack.git
synced 2026-11-24 18:28:44 +01:00
Added unit tests, Fixed syntax issues in include
This commit is contained in:
@@ -50,6 +50,14 @@ Procedure AssertEqualsB(Val1.b, Val2.b, TestName.s="")
|
||||
EndIf
|
||||
EndProcedure
|
||||
|
||||
Procedure AssertEqualsQ(Val1.q, Val2.q, TestName.s="")
|
||||
If Val1 = Val2
|
||||
Pass(TestName)
|
||||
Else
|
||||
Fail(TestName, Str(Val1) + " <> " + Str(Val2))
|
||||
EndIf
|
||||
EndProcedure
|
||||
|
||||
Procedure AssertNotEquals(Val1, Val2, TestName.s="")
|
||||
If Val1 <> Val2
|
||||
Pass(TestName)
|
||||
|
||||
Reference in New Issue
Block a user