ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TagRelevanceTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use PHPUnit\Framework\TestCase;
22
28class TagRelevanceTest extends TestCase
29{
30 //protected $backupGlobals = false;
31
32 protected function setUp(): void
33 {
34 parent::setUp();
35 }
36
37 protected function tearDown(): void
38 {
39 }
40
44 public function testTagRelevance(): void
45 {
46 $this->assertEquals(
47 "ilTagRelVeryLow",
49 );
50 $this->assertEquals(
51 "ilTagRelLow",
53 );
54 $this->assertEquals(
55 "ilTagRelMiddle",
57 );
58 }
59}
testTagRelevance()
Test if each rater has $num_assignments peers.
static getRelevanceClass(int $cnt, int $max)