summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/oc/misc.m
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/oc/misc.m')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/oc/misc.m27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/oc/misc.m b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/oc/misc.m
new file mode 100644
index 00000000..5038a14c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/oc/misc.m
@@ -0,0 +1,27 @@
+- (id)init
+{
+GLfloat wc[3][3] = {{ 0.6, 0.6, 0.0 }, { 1.0, 0.7, 0.1 }, { 0.5, 0.7, 0.2
+},};
+GLfloat cc[3][3] = {{ 0.0, 0.0, 0.6 }, { 0.3, 0.1, 0.5 }, { 0.0, 0.0, 0.5
+},};
+GLfloat sc[3] = {0.75, 0.75, 0.75};
+
+return [self initWithWarmColors:(float *)&wc coolColors:(float *)&cc
+surfaceColor:sc enableTexturing:NO enableSpecular:YES
+enableQuakeDisruptor:NO];
+
+ [NSException raise:NSInternalInconsistency
+ format:@"An internal inconsistency was raised"];
+
+for (i = 0; i <[a count]; i++) {
+[thePerson setAmount:(1.5 * 17)forKey:@"overtime"];
+[screen showtext : x : y : @"Message"];
+ }
+}
+
+*outError = [NSError errorWithDomain:NSCocoaErrorDomain
+code:0
+userInfo:[NSDictionary
+dictionaryWithObject:@"Some Description"
+forKey:NSLocalizedDescriptionKey]];
+