cmoon::test::test_case::operator()





virtual void operator()() = 0;


(1)

This method must be overwritten by the user, and will contain the main part of the testing for this test_case.

Parameters

(none)

Return value

(none)

Example



    import cmoon.test;
    
    class example_test : public cmoon::test::test_case
    {
        public:
            example_test()
                : cmoon::test::test_case{"example test"} {}
    
            void operator()() override
            {
                // Put testing code here!!
            }
    };