indexing description: "TEMPLATE for for em_test_suite" "This class explains in comments how you can write your own test cases" "Use 'geant test' from the command line to compile" "Use 'getest -g' to generate test cases (needed when you create a new class)" library: "EM test" copyright: "Copyright (c) 2002, Till G. Bay and others" license: "Eiffel Forum License v2 (see forum.txt)" date: "$Date$" revision: "$Revision$" deferred class EM_TEST_TEMPLATE -- Your class has to be called 'EM_TEST_*' inherit EM_TEST_CASE redefine set_up, tear_down end -- You should inherit from EM_TEST_CASE, or if you don't -- need anything specifically from there, inherit from -- TS_TEST_CASE -- redefine 'set_up' and 'tear_down' if needed (they are called before -- and after the other features) feature set_up is -- Optional. Called before all other features do end tear_down is -- Optional. Called after all other features do end feature -- all features names 'test_*' will be called by getest -- use assertions for your tests. -- See: http://www.gobosoft.com/eiffel/gobo/getest/assertions.html test_template is do assert_equal ("template assert_equal", true, true) assert_not_equal ("template assert_not_equal", true, false) end end