Macaulay2 Engine
Loading...
Searching...
No Matches

◆ TEST() [4/7]

TEST ( Util ,
m2array2stdvec  )

Definition at line 70 of file basics-test.cpp.

71{
72 std::vector<int> a{1, 3, 6, 4};
74 std::vector<int> c = M2_arrayint_to_stdvector<int>(b);
75 EXPECT_EQ(a, c);
76}
M2_arrayint stdvector_to_M2_arrayint(const std::vector< T > &v)
Definition util.hpp:79
std::vector< T > M2_arrayint_to_stdvector(M2_arrayint arr)
Definition util.hpp:96

References M2_arrayint_to_stdvector(), and stdvector_to_M2_arrayint().