示例#1
0
 public function testStringOfParenthesisToGetThree()
 {
     $this->day1->stringOfParenthesis('))(((((');
     $this->assertEquals(3, $this->day1->getFloor());
 }
示例#2
0
 /**
  * @test
  * @param string $input
  * @param int $expected
  * @dataProvider getTestGetFloorTestData
  */
 public function testGetFloor(\string $input, \int $expected)
 {
     $result = $this->day1->getFloor($input);
     $this->assertEquals($expected, $result);
 }