15 #ifndef Om_Language_Operation_ExpressionFrontPushOperation_
21 #ifndef Om_Macro_Precompilation_
23 #include "boost/test/unit_test.hpp"
33 BOOST_AUTO_TEST_SUITE(ExpressionFrontPushOperationTest)
35 BOOST_AUTO_TEST_CASE(DefinitionTest) {
38 System::Get().Evaluate(
"drop find {->[expression]} system")
42 BOOST_AUTO_TEST_CASE(GeneralTest) {
52 System::Get().Evaluate(
"->[expression] {1{2}3}{4{5}6}")
62 System::Get().Evaluate(
"->[expression] {1{2}}{{5}6}")
92 System::Get().Evaluate(
"->[expression] quote{2}{3}")
101 BOOST_AUTO_TEST_SUITE_END()
119 Om::Language::Operation::ExpressionFrontPushOperation
123 inline char const * Type_::GetName() {
127 inline void Type_::Give(Evaluation & theEvaluation) {
128 theEvaluation.TakeOperation(
129 std::auto_ptr<IncompleteOperation>(
130 new FrontPushOperation<
132 ExpressionFrontPushOperation
#define Om_Language_Operation_ExpressionFrontPushOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.