summaryrefslogtreecommitdiff
path: root/utils/weights_test.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-10-20 02:31:25 +0200
committerPatrick Simianer <p@simianer.de>2011-10-20 02:31:25 +0200
commita5a92ebe23c5819ed104313426012011e32539da (patch)
tree3416818c758d5ece4e71fe522c571e75ea04f100 /utils/weights_test.cc
parentb88332caac2cbe737c99b8098813f868ca876d8b (diff)
parent78baccbb4231bb84a456702d4f574f8e601a8182 (diff)
finalized merge
Diffstat (limited to 'utils/weights_test.cc')
-rw-r--r--utils/weights_test.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/utils/weights_test.cc b/utils/weights_test.cc
index 8a4c26ef..938b311f 100644
--- a/utils/weights_test.cc
+++ b/utils/weights_test.cc
@@ -14,11 +14,10 @@ class WeightsTest : public testing::Test {
virtual void TearDown() { }
};
-
TEST_F(WeightsTest,Load) {
- Weights w;
- w.InitFromFile("test_data/weights");
- w.WriteToFile("-");
+ vector<weight_t> v;
+ Weights::InitFromFile("test_data/weights", &v);
+ Weights::WriteToFile("-", v);
}
int main(int argc, char **argv) {