<filename>test_uri_1037.py
# -*- coding: utf-8 -*-

import unittest
from outtest import OutputTestCase
import uri_1037

class TestUri1037(OutputTestCase):

    def test_output1(self):
        self.input(['25.01'])
        uri_1037.main()
        self.assert_output(['Intervalo (25,50]'])
    
    def test_output2(self):
        self.input(['25.00'])
        uri_1037.main()
        self.assert_output(['Intervalo [0,25]'])

    def test_output3(self):
        self.input(['100.00'])
        uri_1037.main()
        self.assert_output(['Intervalo (75,100]'])
    
    def test_output4(self):
        self.input(['-25.02'])
        uri_1037.main()
        self.assert_output(['Fora de intervalo'])

if __name__ == '__main__':
    unittest.main()
<filename>test_uri_1037.py
# -*- coding: utf-8 -*-

import unittest
from outtest import OutputTestCase
import uri_1037

class TestUri1037(OutputTestCase):

    def test_output1(self):
        self.input(['25.01'])
        uri_1037.main()
        self.assert_output(['Intervalo (25,50]'])
    
    def test_output2(self):
        self.input(['25.00'])
        uri_1037.main()
        self.assert_output(['Intervalo [0,25]'])

    def test_output3(self):
        self.input(['100.00'])
        uri_1037.main()
        self.assert_output(['Intervalo (75,100]'])
    
    def test_output4(self):
        self.input(['-25.02'])
        uri_1037.main()
        self.assert_output(['Fora de intervalo'])

if __name__ == '__main__':
    unittest.main()
# -*- coding: utf-8 -*-