mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 15:31:00 +01:00
Updated test to refect new generalization
This commit is contained in:
parent
10f658532d
commit
27946f9d31
@ -23,11 +23,13 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
use JeroenED\Libpairtwo\Sws;
|
||||
use JeroenED\Libpairtwo\IOFactory;
|
||||
|
||||
require_once '../vendor/autoload.php';
|
||||
|
||||
$sws = Sws::readSws('../res/testsws.sws');
|
||||
$sws = IOFactory::createReader('Pairtwo-6');
|
||||
$sws->read('../res/testsws.sws');
|
||||
|
||||
echo "Release: " . $sws->getRelease() . PHP_EOL;
|
||||
echo "Name: " . $sws->getTournament()->getName() . PHP_EOL;
|
||||
echo "Organiser: " . $sws->getTournament()->getOrganiser(). PHP_EOL;
|
||||
|
Loading…
Reference in New Issue
Block a user