<commit_before>import unittest
from math import pi

from sections.sections import CircularSector
from tests.test_section import SectionTests

class CircularSectorTests(unittest.TestCase, SectionTests):
    
    def setUp(self):
        self.cls        = CircularSector
        self.ro         = 5.0
        self.ri         = 0.0
        self.phi        = pi/3
        self.dimensions = {"ro":self.ro, "ri":self.ri, "phi":self.phi}
        self.rp         = 3.0, 4.0
        self.A          = 13.08996938995747
        self._I         = 14.154074016574924, 149.47054335789346, 0.0
        self._I0        = 14.154074016574924, 16.841424114647396, 0.0
        self._cog       = 3.183098861837906, 0.0
    
    
    def scaled_dimensions(self, factor):
    	return {"ro":factor*self.ro, "ri":factor*self.ri}<commit_msg>Added new test case for circular sector<commit_after>import unittest
from math import pi

from sections.sections import CircularSector
from tests.test_section import SectionTests

class CircularSectorTests(unittest.TestCase, SectionTests):
    
    def setUp(self):
        self.cls        = CircularSector
        self.ro         = 5.0
        self.ri         = 0.0
        self.phi        = pi/3
        self.dimensions = {"ro":self.ro, "ri":self.ri, "phi":self.phi}
        self.rp         = 3.0, 4.0
        self.A          = 13.08996938995747
        self._I         = 14.154074016574924, 149.47054335789346, 0.0
        self._I0        = 14.154074016574924, 16.841424114647396, 0.0
        self._cog       = 3.183098861837906, 0.0
    
    
    def scaled_dimensions(self, factor):
    	return {"ro":factor*self.ro, "ri":factor*self.ri}


class CircularSectorTests2(unittest.TestCase):
    
    def test_todo(self):
        self.fail("TODO: Add tests for circular sector with ri>0")
{'fraction_non_alphanumeric': 0.10310421286031042, 'fraction_numerical': 0.12971175166297116, 'mean_word_length': 2.0907534246575343, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3496602', 'n_tokens_mistral': 752, 'n_tokens_neox': 611, 'n_words': 123}