This page exposes the results of running answer tests on STACK test cases. This page is automatically generated from the STACK unit tests and is designed to show question authors what answer tests actually do. This includes cases where answer tests currentl fail, which gives a negative expected mark. Comments and further test cases are very welcome.

## Sets

Test
?
Student response
Opt
Mark
Sets
{1/0}
{0}
-1 ATSets_STACKERROR_SAns.
TEST_FAILED
Sets
{0}
{1/0}
-1 ATSets_STACKERROR_TAns.
TEST_FAILED
Sets
x
{1,2,3}
0 ATSets_SA_not_set.
Your answer should be a set, but is not. Note that the syntax to enter a set is to enclose the comma separated values with curly brackets.
Sets
{1,2}
x
0 ATSets_SB_not_set.
Sets
{1,2}
{1,2,3}
0 ATSets_missingentries.
The following are missing from your set. $\left \{3 \right \}$
Sets
{1,2,4}
{1,2}
0 ATSets_wrongentries.
These entries should not be elements of your set. $\left \{4 \right \}$
Sets
{1,2,2+2}
{1,2}
0 ATSets_wrongentries.
These entries should not be elements of your set. $\left \{4 \right \}$
Sets
{5,1,2,4}
{1,2,3}
0 ATSets_wrongentries. ATSets_missingentries.
These entries should not be elements of your set. $\left \{4 , 5 \right \}$ The following are missing from your set. $\left \{3 \right \}$
Sets
{2/4, 1/3}
{1/2, 1/3}
1
Duplicate entries
Sets
{1,2,1}
{1,2}
1 ATSets_duplicates.
Your set appears to contain duplicate entries!
Sets
{1,2,1+1}
{1,2}
1 ATSets_duplicates.
Your set appears to contain duplicate entries!
Sets
{1,2,1+1}
{1,2,3}
0 ATSets_duplicates. ATSets_missingentries.
Your set appears to contain duplicate entries! The following are missing from your set. $\left \{3 \right \}$
Sets
{(x-a)^6000}
{(a-x)^6000}
0 ATSets_wrongentries. ATSets_missingentries.
These entries should not be elements of your set. $\left \{{\left(x-a\right)}^{6000} \right \}$ The following are missing from your set. $\left \{{\left(a-x\right)}^{6000} \right \}$