Xamarin Public Jenkins (auto-signing) ef583813eb Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
2019-07-26 19:53:28 +00:00

7.9 KiB
Raw Blame History

1test001Returns a value (6)
2test002For loop with variable x incrementing ++x to 6
3test003While loop with incrementing ++x values up to 6
4test004If/else statement including += and == operators
5test005Nested for loop using ++x
6test006Nested while loop using ++x
7test007Switch statement based on matching x and returning 6
8test008Struct statement based on returning a member 6
9test009Array example incrementing from 0 - 10, returning the 6th member of array
10test010Nested switch statement, returning x then 6
11test011Addition using variables, x(6) = i(2) + t(4)
12test012Subtraction using variables, x(6) = i(8) - t(2)
13test013Multiplication using variables, x(6) = i(3) * t(2)
14test014Division using variables, x(6) = i(30) / t(5)
15test015Modulus using variables, x(6) = i(26) % t(20)
16test016Unary plus (+a) operator, increase data size of char from 2 to 4
17test017Unary minus (-a) operator, convert 10 to -10 and check all three variables
18test018Increment (++a) operator, ++5 returns 6
19test019Decrement (--a) operator, --7 returns 6
20test020Greater Than (>) Relational Logic Operator, if x>y, return x (6)
21test021Greater Than or Equal (>=) Relational Logic Operator, if x>y, return x (6)
22test022Less Than (<) Relational Logic Operator, if x<y, return x (6)
23test023Less Than or Equal (<=) Logic Operator, if x<=y, return x (6)
24test024Equal (==) Relational Logic Operator, if x==y, return x (6)
25test025Not Equal (!=) Relational Logic Operator, if x!=y, return x (6)
26test026And (&&) Relational Logic Operator, if x==y && x==z, return x (6)
27test027OR (||) Relational Logic Operator, if x==y || x!=z, return x (6)
28test028NOT (~a) Bitwise Operator, b=~(-7)a, return (6)
29test029AND (a&b) Bitwise Operator, c(6)=a(6)&b(15), return (6)
30test030OR (a|b) Bitwise Operator, c(6)=a(2)|b(4), return (6)
31test031XOR (a^b) Bitwise Operator, c(6)=a(9)^b(15), return (6)
32test032Binary Shift Left (a<<b) Bitwise Operator, b(6)=a(3)<<1, return (6)
33test033Binary Shift Right (a>>b) Bitwise Operator, b(6)=a(13)>>1, return (6)
34test034Compound Addition (a+=b) Assignment Operator, a(3)+=b(3), return a(6)
35test035Compound Subtraction (a+=b) Assignment Operator, a(9)-=b(3), return a(6)
36test036Compound Multiplication (a*=) Assignment Operator, a(2)*=b(3), return a(6)
37test037Compound Division (a/=b) Assignment Operator, a(30)/=b(5), return a(6)
38test038Compound Modulus (a%=b) Assignment Operator, a(20)%=b(14), return a(6)
39test039AND (a&=b) Compound Assignment Bitwise Operator, a(6)&=b(15), return a(6)
40test040OR (a|=b) Compound Assignment Bitwise Operator, a(2)|=b(4), return a(6)
41test041XOR (a^=b) Compound Assignment Bitwise Operator, a(9)^=b(15), return a(6)
42test042Binary Shift Left (a<<=b) Compound Assignment B. Operator, a(3)<<=1, return a(6)
43test043Binary Shift Right (a>>=) Compound Assignment B. Operator, a(13)>>=1, return a(6)
44test044Declaring char, char a(A), ia=a, ia-59, return ia(6)
45test045Declaring signed char, signed char a(A), ia=a, ia-59, return ia(6)
46test046Declaring unsigned char, unsigned char a(A), ia=a, ia-59, return ia(6)
47test047Declaring int, int a(6), return a(6)
48test048Declaring short int, short int a(6), ia=a, ia=(int)a, return ia(6)
49test049Declaring long int, long int a(6), ia=a, ia=(int)a, return ia(6)
50test050Declaring signed int, signed int a(6), ia=a, ia=(int)a, return ia(6)
51test051Declaring unsigned int, unsigned int a(6), ia=a, ia=(int)a, return ia(6)
52test052Declaring float, float a(6.0), ia=a, ia=(int)a, return ia(6)
53test053Declaring double, double a(6.0), ia=a, ia=(int)a, return ia(6)
54test054Declaring long double, long double a(6.0), ia=a, ia=(int)a, return ia(6)
55test055Declaring short, short a(6), ia=a, ia=(int)a, return ia(6)
56test056Declaring signed short, signed short a(6), ia=a, ia=(int)a, return ia(6)
57test057Declaring unsigned short, unsigned short a(6), ia=a, ia=(int)a, return ia(6)
58test058Declaring signed short int, signed short int a(6), ia=a, ia=(int)a, return ia(6)
59test059Declaring unsigned short int, unsigned short int a(6), ia=a, ia=(int)a, return ia(6)
60test060Declaring long, long a(6), ia=a, ia=(int)a, return ia(6)
61test061Declaring signed long, signed long a(6), ia=a, ia=(int)a, return ia(6)
62test062Declaring unsigned long, unsigned long a(6), ia=a, ia=(int)a, return ia(6)
63test063Declaring signed long int, signed long int a(6), ia=a, ia=(int)a, return ia(6)
64test064Declaring unsigned long int, unsigned long int a(6), ia=a, ia=(int)a, return ia(6)
65test065Declaring long long, signed long a(6), ia=a, ia=(int)a, return ia(6)
66test066Declaring long long int, long long int a(6), ia=a, ia=(int)a, return ia(6)
67test067Declaring signed long long, signed long long a(6), ia=a, ia=(int)a, return ia(6)
68test068Declaring unsigned long long, unsigned long long a(6), ia=a, ia=(int)a, return ia(6)
69test069Declaring signed long long int, signed long long int a(6), ia=a, ia=(int)a, return ia(6)
70test070Declaring unsigned long long int, unsigned long long int a(6), ia=a, ia=(int)a, return ia(6)
71test071Executes an if statement, returns x(6)
72test072Executes an else/if statement, else option returns 6
73test073Executes a do/while statement, while x==0, return 6
74test074Executes a break/continue statement, x++, if x<15 continue, if x==10 break, return 6
75test075Executes a Goto-Label statement, goto label (skips an infinite loop), return 6
76test076Declares and returns the value of an integer pointer, return 6
77test077Declares a char pointer and compares the value to return 6
78test078Assigned a NULL pointer and checks to make sure it returns 0, return 6
79test079Declares a double pointer and confirms its value located at address x, return 6
80test080Declares a float pointer and confirms its value located at address x, return 6
81test081Properly uses an address-of value (&) variable and returns the value-at address (*), return 6
82test082Tests a pointer to a structure (->) and returns 6
83test083Declares an array and uses a pointer to return 6 (cannot announce arrays: a[2]={1,6};)
84test084Increments a pointer via int, Subtracts two memory addresses and adds 2 to return 6
85test085Decrements a pointer via int, Subtracts two memory addresses and adds 2 to return 6
86test086Increments a pointer via char, Subrtracts two memory addresses and adds 2 to return 6
87test087Decrements a pointer via char, Subtracts two memory addresses and adds 2 to return 6
88test088Tests a Multi-Dimensional Array Uses a pointer to access address [1][1] and returns 6
89test089Tests an executed data-packing structure, returns 6
90test090Tests an executed union and checks if the data size is correct, returns 6
91test091Tests an executed union and returns a member (6)
92test092Tests to see if the CBE can pass a structure into a function, returns 6
93test093Tests if the CBE will execute a nested structure properly, returns 6
94test094Tests if the CBE will execute a structure using typedef properly, returns 6
95test095Tests if the CBE will execute an array of structures, returns 6
96test096Tests if the CBE will execute a self-referencing structure, returns 6
97test097Tests if the CBE can handle a simple addition function, returns 6
98test098Tests if the CBE can handle static variables, returns 6
99test099Tests if the CBE can handle register variables, returns 6
100test100Tests if the CBE can handle a recursive function, returns 6
101test101Tests if the CBE can handle a fibonacci numbers example, returns 6
102test102Tests if the CBE will execute a function pointer, returns 6
103test103Tests if the CBE will execute Macro Substitution, returns 6
104test104Tests if the CBE will execute a tail recursion example, returns 6
105test105Tests if the CBE will execute a head recursion example, returns 6