Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
get_msb.test.cpp File Reference
#include "get_msb.hpp"
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

 TEST (bitop, GetMsbUint640Value)
 
 TEST (bitop, GetMsbUint320)
 
 TEST (bitop, GetMsbUint3231)
 
 TEST (bitop, GetMsbUint6463)
 
 TEST (bitop, GetMsbSizeT7)
 
 TEST (bitop, GetMsbUint32AllPositions)
 
 TEST (bitop, GetMsbUint64AllPositions)
 
 TEST (bitop, GetLsbZero)
 
 TEST (bitop, GetLsbOne)
 
 TEST (bitop, GetLsbPowersOfTwo)
 
 TEST (bitop, GetLsbComposite)
 
 TEST (bitop, RoundUpPower2Zero)
 
 TEST (bitop, RoundUpPower2PowersOfTwo)
 
 TEST (bitop, RoundUpPower2NonPowers)
 
 TEST (bitop, RoundUpPower2LargestValid)
 

Function Documentation

◆ TEST() [1/15]

TEST ( bitop  ,
GetLsbComposite   
)

Definition at line 91 of file get_msb.test.cpp.

◆ TEST() [2/15]

TEST ( bitop  ,
GetLsbOne   
)

Definition at line 75 of file get_msb.test.cpp.

◆ TEST() [3/15]

TEST ( bitop  ,
GetLsbPowersOfTwo   
)

Definition at line 81 of file get_msb.test.cpp.

◆ TEST() [4/15]

TEST ( bitop  ,
GetLsbZero   
)

Definition at line 69 of file get_msb.test.cpp.

◆ TEST() [5/15]

TEST ( bitop  ,
GetMsbSizeT7   
)

Definition at line 30 of file get_msb.test.cpp.

◆ TEST() [6/15]

TEST ( bitop  ,
GetMsbUint320   
)

Definition at line 12 of file get_msb.test.cpp.

◆ TEST() [7/15]

TEST ( bitop  ,
GetMsbUint3231   
)

Definition at line 18 of file get_msb.test.cpp.

◆ TEST() [8/15]

TEST ( bitop  ,
GetMsbUint32AllPositions   
)

Definition at line 38 of file get_msb.test.cpp.

◆ TEST() [9/15]

TEST ( bitop  ,
GetMsbUint640Value   
)

Definition at line 6 of file get_msb.test.cpp.

◆ TEST() [10/15]

TEST ( bitop  ,
GetMsbUint6463   
)

Definition at line 24 of file get_msb.test.cpp.

◆ TEST() [11/15]

TEST ( bitop  ,
GetMsbUint64AllPositions   
)

Definition at line 53 of file get_msb.test.cpp.

◆ TEST() [12/15]

TEST ( bitop  ,
RoundUpPower2LargestValid   
)

Definition at line 125 of file get_msb.test.cpp.

◆ TEST() [13/15]

TEST ( bitop  ,
RoundUpPower2NonPowers   
)

Definition at line 115 of file get_msb.test.cpp.

◆ TEST() [14/15]

TEST ( bitop  ,
RoundUpPower2PowersOfTwo   
)

Definition at line 106 of file get_msb.test.cpp.

◆ TEST() [15/15]

TEST ( bitop  ,
RoundUpPower2Zero   
)

Definition at line 100 of file get_msb.test.cpp.