12#include <com/sun/star/sheet/FormulaToken.hpp>
13#include <com/sun/star/sheet/XMultiFormulaTokens.hpp>
15#include <com/sun/star/uno/Reference.hxx>
16#include <com/sun/star/uno/Sequence.hxx>
18#include <cppunit/TestAssert.h>
26 uno::Reference<sheet::XMultiFormulaTokens> xMFT(
init(), uno::UNO_QUERY_THROW);
28 CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xMFT->getCount());
33 uno::Reference<sheet::XMultiFormulaTokens> xMFT(
init(), uno::UNO_QUERY_THROW);
35 uno::Sequence<sheet::FormulaToken> aTokens{ { 2, {} } };
36 xMFT->setTokens(0, aTokens);
38 CPPUNIT_ASSERT_EQUAL(aTokens[0].
OpCode, xMFT->getTokens(0)[0].OpCode);