<commit_before><?php
namespace Ushios\Shape\Test;

use Ushios\Shape\Square;

class SquareTest extends \PHPUnit_Framework_TestCase
{
    public function testMakeInstance()
    {
        $square = new Square();
    }

    public function testGetterSetter()
    {
        $square = new Square();
        $square->setWidth(100);

        $this->assertEquals(100, $square->getHeight());
    }
}<commit_msg>add square setter and getter test.<commit_after><?php
namespace Ushios\Shape\Test;

use Ushios\Shape\Square;

class SquareTest extends \PHPUnit_Framework_TestCase
{
    public function testMakeInstance()
    {
        $square = new Square();
    }

    public function testGetterSetter()
    {
        $square = new Square();

        $square->setWidth(100);
        $this->assertEquals(100, $square->getHeight());

        $square->setHeight(200);
        $this->assertEquals(200, $square->getWidth());
    }
}
{'fraction_non_alphanumeric': 0.13048245614035087, 'fraction_numerical': 0.019736842105263157, 'mean_word_length': 3.004385964912281, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '2956510', 'n_tokens_mistral': 286, 'n_tokens_neox': 269, 'n_words': 56}