mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 07:16:17 +02:00
18 lines
359 B
C++
18 lines
359 B
C++
|
#include "processes.hh"
|
||
|
|
||
|
#include <gtest/gtest.h>
|
||
|
|
||
|
namespace nix {
|
||
|
|
||
|
/* ----------------------------------------------------------------------------
|
||
|
* statusOk
|
||
|
* --------------------------------------------------------------------------*/
|
||
|
|
||
|
TEST(statusOk, zeroIsOk)
|
||
|
{
|
||
|
ASSERT_EQ(statusOk(0), true);
|
||
|
ASSERT_EQ(statusOk(1), false);
|
||
|
}
|
||
|
|
||
|
} // namespace nix
|