Negates the result of another ValueTest.  
 More...
#include <NegateTest.h>
Negates the result of another ValueTest. 
- Example:
 NegateTest not_foo(std::make_unique<EqualsTest>(
"foo"));
 
 
assert( not_foo.test("bar"));
assert( not_foo.test("baz"));
assert(!not_foo.test("foo"));
Negates the result of another ValueTest.
 
  
Definition at line 41 of file NegateTest.h.
 
◆ NegateTest() [1/3]
  
  
      
        
          | hext::NegateTest::NegateTest  | 
          ( | 
          std::unique_ptr< ValueTest >  | 
          value_test | ) | 
           | 
         
       
   | 
  
explicitnoexcept   | 
  
 
 
◆ ~NegateTest()
  
  
      
        
          | hext::NegateTest::~NegateTest  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridedefaultnoexcept   | 
  
 
 
◆ NegateTest() [2/3]
  
  
      
        
          | hext::NegateTest::NegateTest  | 
          ( | 
          NegateTest &&  | 
          other | ) | 
           | 
         
       
   | 
  
defaultnoexcept   | 
  
 
 
◆ NegateTest() [3/3]
      
        
          | hext::NegateTest::NegateTest  | 
          ( | 
          const NegateTest &  | 
          other | ) | 
           | 
        
      
 
 
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ test()
  
  
      
        
          | bool hext::NegateTest::test  | 
          ( | 
          const char *  | 
          subject | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
Returns true if the given ValueTest fails for subject. 
- Parameters
 - 
  
    | subject | The string that is to be tested.  | 
  
   
Implements hext::ValueTest.
 
 
The documentation for this class was generated from the following file: