add: added EnumerationValue test

This commit is contained in:
Brian Matzon 2002-08-29 01:49:25 +00:00
parent 1768d24a38
commit cdf484cc11
1 changed files with 6 additions and 6 deletions

View File

@ -895,16 +895,16 @@ public class ALTest extends BasicTest {
int getVal; int getVal;
System.out.print("\nEnumeration Value Test. "); System.out.print("\nEnumeration Value Test. ");
/*
while (enumeration[i].enumName) { while (i < enumerationString.length) {
getVal = alGetEnumValue(enumeration[i].enumName); getVal = al.getEnumValue(enumerationString[i]);
if (getVal != enumeration[i].value) { if (getVal != enumeration[i]) {
printf("\n%s has an invalid enum value.", enumeration[i].enumName); System.out.print("\n" + enumerationString[i] + " has an invalid enum value.");
result = false; result = false;
} }
i++; i++;
} }
*/
if(result == true) { if(result == true) {
System.out.print("PASSED."); System.out.print("PASSED.");
} else { } else {