mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 06:41:12 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32225 72102866-910b-0410-8b05-ffd578937521
24 lines
546 B
Objective-C
24 lines
546 B
Objective-C
/*
|
|
copyright 2004 Alexander Malmberg <alexander@malmberg.org>
|
|
*/
|
|
|
|
#include "Testing.h"
|
|
|
|
#include <Foundation/NSAutoreleasePool.h>
|
|
#include <AppKit/NSParagraphStyle.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
int ok;
|
|
|
|
CREATE_AUTORELEASE_POOL(arp);
|
|
|
|
ok = [NSParagraphStyle defaultWritingDirectionForLanguage: @"en"]==NSWritingDirectionLeftToRight
|
|
&& [NSParagraphStyle defaultWritingDirectionForLanguage: @"ar"]==NSWritingDirectionRightToLeft;
|
|
|
|
pass(ok,"[NSParagraphStyle defaultWritingDirectionForLanguage:] works");
|
|
|
|
DESTROY(arp);
|
|
return 0;
|
|
}
|
|
|