Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "net/cert/merkle_audit_proof.h" | |
| 6 | |
| 7 #include "testing/gmock/include/gmock/gmock.h" | |
| 8 #include "testing/gtest/include/gtest/gtest.h" | |
| 9 | |
| 10 namespace net { | |
| 11 namespace ct { | |
| 12 namespace { | |
| 13 | |
| 14 TEST(MerkleAuditProofTest, CalculatesAuditPathLengthCorrectly) { | |
| 15 EXPECT_EQ(20u, CalculateAuditPathLength(123456, 999999)); | |
|
Eran Messeri
2016/05/23 13:10:52
Add a few more test cases, particularly relating t
Rob Percival
2016/05/24 17:10:05
Done.
| |
| 16 } | |
| 17 | |
| 18 } // namespace | |
| 19 } // namespace ct | |
| 20 } // namespace net | |
| OLD | NEW |