Skip to content

Commit e02a651

Browse files
committed
More commenting
1 parent cd8a4f0 commit e02a651

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

test/Shader/HLSLFrameworkTests/SectionHierarchyByteWriterTests.hlsl

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -95,31 +95,31 @@ void SectionHierarchyByteWriterTests()
9595

9696
SECTION("AND WHEN 5 sections entered")
9797
{
98-
data.TryEnterSection(nullCallable, 4);
99-
data.TryEnterSection(nullCallable, 5);
100-
101-
SECTION("THEN 8 Bytes is required")
102-
{
103-
stf::detail::SectionHierarchy sh;
104-
sh.Scratch = data;
105-
ASSERT(AreEqual, ttl::bytes_required(sh), 8u);
106-
ASSERT(AreEqual, ttl::alignment_required(sh), 4u);
107-
}
108-
109-
SECTION("AND WHEN bytes written")
110-
{
111-
stf::detail::SectionHierarchy sh;
112-
sh.Scratch = data;
113-
ttl::write_bytes(vec, 0, sh);
114-
115-
SECTION("THEN first two uints is as expected")
116-
{
117-
static const uint expectedFirst = (2 << 24) | (3 << 16) | (4 << 8) | (5 << 0);
118-
static const uint expectedSecond = 1;
119-
ASSERT(AreEqual, vec[0], expectedFirst);
120-
ASSERT(AreEqual, vec[1], expectedSecond);
121-
}
122-
}
98+
//data.TryEnterSection(nullCallable, 4);
99+
//data.TryEnterSection(nullCallable, 5);
100+
//
101+
//SECTION("THEN 8 Bytes is required")
102+
//{
103+
// stf::detail::SectionHierarchy sh;
104+
// sh.Scratch = data;
105+
// ASSERT(AreEqual, ttl::bytes_required(sh), 8u);
106+
// ASSERT(AreEqual, ttl::alignment_required(sh), 4u);
107+
//}
108+
//
109+
//SECTION("AND WHEN bytes written")
110+
//{
111+
// stf::detail::SectionHierarchy sh;
112+
// sh.Scratch = data;
113+
// ttl::write_bytes(vec, 0, sh);
114+
//
115+
// SECTION("THEN first two uints is as expected")
116+
// {
117+
// static const uint expectedFirst = (2 << 24) | (3 << 16) | (4 << 8) | (5 << 0);
118+
// static const uint expectedSecond = 1;
119+
// ASSERT(AreEqual, vec[0], expectedFirst);
120+
// ASSERT(AreEqual, vec[1], expectedSecond);
121+
// }
122+
//}
123123

124124
//SECTION("AND WHEN two sections are left")
125125
//{

0 commit comments

Comments
 (0)