ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
TagRelevanceTest Class Reference

Test tagging. More...

+ Inheritance diagram for TagRelevanceTest:
+ Collaboration diagram for TagRelevanceTest:

Public Member Functions

 testTagRelevance ()
 Test if each rater has $num_assignments peers. More...
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Detailed Description

Test tagging.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 28 of file TagRelevanceTest.php.

Member Function Documentation

◆ setUp()

TagRelevanceTest::setUp ( )
protected

Definition at line 32 of file TagRelevanceTest.php.

32  : void
33  {
34  parent::setUp();
35  }

◆ tearDown()

TagRelevanceTest::tearDown ( )
protected

Definition at line 37 of file TagRelevanceTest.php.

37  : void
38  {
39  }

◆ testTagRelevance()

TagRelevanceTest::testTagRelevance ( )

Test if each rater has $num_assignments peers.

Definition at line 44 of file TagRelevanceTest.php.

References ilTagging\getRelevanceClass().

44  : void
45  {
46  $this->assertEquals(
47  "ilTagRelVeryLow",
49  );
50  $this->assertEquals(
51  "ilTagRelLow",
53  );
54  $this->assertEquals(
55  "ilTagRelMiddle",
57  );
58  }
static getRelevanceClass(int $cnt, int $max)
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: