diff options
| author | Arslaan Pathan <[email protected]> | 2026-10-03 23:04:55 +1300 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-10-03 23:04:55 +1300 |
| commit | 9c8f390995ace83ebee758ba42fc7f77da2129e2 (patch) | |
| tree | eead5bdc7e57503287e91d9b41dcf9db83adcbad /tests/Introspection.m | |
| parent | 845aa9ce0bdbc64bc5890c719ae6016740836c0c (diff) | |
| download | Paradox-9c8f390995ace83ebee758ba42fc7f77da2129e2.tar.xz Paradox-9c8f390995ace83ebee758ba42fc7f77da2129e2.zip | |
Selector test and tweak Introspection (yay it works!)
Diffstat (limited to 'tests/Introspection.m')
| -rw-r--r-- | tests/Introspection.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Introspection.m b/tests/Introspection.m index 2bdc6f9..dd6a061 100644 --- a/tests/Introspection.m +++ b/tests/Introspection.m @@ -8,7 +8,7 @@ @implementation MyClass - (void)sayHello { - printf("Hello!"); + printf("Hello!\n"); } @end @@ -23,4 +23,7 @@ int main(void) { printf("isMemberOfClass:PXObject = %s\n", [instance isMemberOfClass:[PXObject class]] ? "YES" : "NO"); printf("isKindOfClass:MyClass = %s\n", [instance isKindOfClass:[MyClass class]] ? "YES" : "NO"); printf("isKindOfClass:PXObject = %s\n", [instance isKindOfClass:[PXObject class]] ? "YES" : "NO"); + + [instance release]; + printf("test complete\n"); } |
