summaryrefslogtreecommitdiff
path: root/test/test-obj.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 15:58:31 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 16:11:16 +0000
commite054f4d95a5ac916b23e0341190badac8e908dc4 (patch)
treee67853cd460a781b008c9f5f40a40edb89f4e249 /test/test-obj.cpp
parentUse consts for Transform (diff)
downloadilt-e054f4d95a5ac916b23e0341190badac8e908dc4.tar.bz2
ilt-e054f4d95a5ac916b23e0341190badac8e908dc4.tar.xz
ilt-e054f4d95a5ac916b23e0341190badac8e908dc4.zip
Broken down Brush47
Diffstat (limited to 'test/test-obj.cpp')
-rw-r--r--test/test-obj.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/test-obj.cpp b/test/test-obj.cpp
index 337df99..64dc030 100644
--- a/test/test-obj.cpp
+++ b/test/test-obj.cpp
@@ -12,10 +12,9 @@ BOOST_AUTO_TEST_CASE(objparse)
BOOST_REQUIRE_EQUAL(0, op.yylex());
BOOST_CHECK_EQUAL(48, op.vertices.size());
BOOST_CHECK_EQUAL(104, op.texCoords.size());
- BOOST_CHECK_EQUAL(16, op.normals.size());
+ BOOST_CHECK_EQUAL(25, op.normals.size());
BOOST_CHECK_EQUAL(28, op.faces.size());
- BOOST_CHECK_EQUAL(4, op.faces[0].size());
- BOOST_CHECK_EQUAL(6, op.faces[10].size());
- BOOST_CHECK_EQUAL(6, op.faces[11].size());
+ BOOST_CHECK_EQUAL(6, op.faces[0].size());
+ BOOST_CHECK_EQUAL(6, op.faces[1].size());
BOOST_CHECK_EQUAL(4, op.faces[12].size());
}