Home | History | Annotate | Download | only in bestflags

Lines Matching refs:FlagSet

16 from flags import FlagSet
100 """This class test the FlagSet class."""
103 """Test the equal method of the Class FlagSet.
105 Two FlagSet instances are equal if all their flags are equal.
114 assert FlagSet([Flag(spec)]) == FlagSet([Flag(spec)])
119 flag_set = FlagSet([Flag(spec)])
123 assert flag_set != FlagSet([Flag(other_spec)])
126 """Test the get item method of the Class FlagSet.
137 flag_set = FlagSet(flag_array)
147 """Test the contain method of the Class FlagSet.
158 flag_set = FlagSet([Flag(spec) for spec in specs])
167 """Test the FormattedForUse method of the Class FlagSet.
183 flag_set = FlagSet(flags)