Commit c2f0a5f0 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

Fix bitvect.test.

* src/tests/bitvect.cc: Fix it, it was failing an assert() on 32bit
architectures because the subset test was done in the wrong order.
Reported by Christopher Ziegler.
* NEWS: Mention it.
parent 0510e4df
......@@ -76,6 +76,8 @@ New in spot 1.99.2a (not yet released)
- Fix spurious failure of uniq.test under different locales.
- ltlcross now recovers from out-of-memory errors during
state-space products.
- bitvect.test was failing on 32bit with assertions enabled
because of a bug in the test case.
New in spot 1.99.2 (2015-07-18)
......
// -*- coding: utf-8 -*-
// Copyright (C) 2013, 2014 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
// Copyright (C) 2013, 2014, 2015 Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
......@@ -65,7 +65,7 @@ int main()
ECHO(x);
std::cout << "subset? " << w->is_subset_of(*x)
<< ' ' << w->is_subset_of(*v) << '\n';
<< ' ' << v->is_subset_of(*w) << '\n';
for (size_t i = 0; i < 30; ++i)
w->push_back((i & 3) == 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment