import unittest
from Validator import ValidatorClass


class TestValidator(unittest.TestCase):
    def test_isempty(self):
        self.assertEqual(False, ValidatorClass.isempty("amiempty"))
        self.assertEqual(True, ValidatorClass.isempty(""))

    def test_isexerciselevelunselected(self):
        self.assertEqual(False, ValidatorClass.isexerciselevelunselected(1))
        self.assertEqual(True, ValidatorClass.isexerciselevelunselected(-1))

0528cf3dcd6ce8b0998780cec693cc58681abb20
<mask token>


class TestValidator(unittest.TestCase):
    <mask token>
    <mask token>

<mask token>


class TestValidator(unittest.TestCase):
    <mask token>

    def test_isexerciselevelunselected(self):
        self.assertEqual(False, ValidatorClass.isexerciselevelunselected(1))
        self.assertEqual(True, ValidatorClass.isexerciselevelunselected(-1))

<mask token>


class TestValidator(unittest.TestCase):

    def test_isempty(self):
        self.assertEqual(False, ValidatorClass.isempty('amiempty'))
        self.assertEqual(True, ValidatorClass.isempty(''))

    def test_isexerciselevelunselected(self):
        self.assertEqual(False, ValidatorClass.isexerciselevelunselected(1))
        self.assertEqual(True, ValidatorClass.isexerciselevelunselected(-1))

import unittest
from Validator import ValidatorClass


class TestValidator(unittest.TestCase):

    def test_isempty(self):
        self.assertEqual(False, ValidatorClass.isempty('amiempty'))
        self.assertEqual(True, ValidatorClass.isempty(''))

    def test_isexerciselevelunselected(self):
        self.assertEqual(False, ValidatorClass.isexerciselevelunselected(1))
        self.assertEqual(True, ValidatorClass.isexerciselevelunselected(-1))

import unittest
from Validator import ValidatorClass


class TestValidator(unittest.TestCase):
    def test_isempty(self):
        self.assertEqual(False, ValidatorClass.isempty("amiempty"))
        self.assertEqual(True, ValidatorClass.isempty(""))

    def test_isexerciselevelunselected(self):
        self.assertEqual(False, ValidatorClass.isexerciselevelunselected(1))
        self.assertEqual(True, ValidatorClass.isexerciselevelunselected(-1))
