Class BasicTest<TT extends Test<TT,ET,RT,AT>,ET extends Expected,RT extends Result<RT,AT,TT,ET>,AT extends Actual>

java.lang.Object
org.tudalgo.algoutils.tutor.general.assertions.basic.BasicTest<TT,ET,RT,AT>
Type Parameters:
TT - the type of the test
ET - the type of the expected behavior
RT - the type of the result
AT - the type of the actual behavior
All Implemented Interfaces:
Test<TT,ET,RT,AT>
Direct Known Subclasses:
BasicFail, BasicTestOfCall, BasicTestOfExceptionalCall, BasicTestOfObject

public abstract class BasicTest<TT extends Test<TT,ET,RT,AT>,ET extends Expected,RT extends Result<RT,AT,TT,ET>,AT extends Actual> extends Object implements Test<TT,ET,RT,AT>

An abstract basic implementation of a test.

  • Constructor Details

    • BasicTest

      protected BasicTest(Environment environment, ET expected)

      Constructs a new test with the given environment and expected behavior.

      Parameters:
      environment - the environment
      expected - the expected behavior
  • Method Details