OPM/opm-core — pull request #84 by bska (2012-10-24 19:25:27+00:00)
Title: Fix well classification that was only correct by accident

This change rewrites two well-classification tests in `opm/core/wells/WellsGroup.cpp` related to wells constrained by group targets. The existing tests were only correct in the very particular case of

```c++
enum WellType { INJECTOR, PRODUCER };
```
whence
```c++
!INJECTOR == PRODUCER
```
and
```c++
!PRODUCER == INJECTOR
```

The second part of this change replaces another, albeit benign, comparison of the type
```c++
!(a == b)
```
with the more common style
```c++
a != b
```