Definition at line 24 of file BooleanObjectTest.cs.
void Deveel.Data.BooleanObjectTest.Convert_False_ToNumber |
( |
| ) |
|
|
inline |
Definition at line 55 of file BooleanObjectTest.cs.
56 var obj = DataObject.Boolean(
false);
57 Assert.IsNotNull(obj);
59 Assert.AreEqual(
false, (
bool)obj.AsBoolean());
61 DataObject numObj = null;
62 Assert.DoesNotThrow(() => numObj = obj.AsInteger());
63 Assert.IsNotNull(numObj);
64 Assert.AreEqual(0, (
int) numObj);
void Deveel.Data.BooleanObjectTest.Convert_Null_ToNumber |
( |
| ) |
|
|
inline |
Definition at line 77 of file BooleanObjectTest.cs.
78 var obj = DataObject.BooleanNull;
79 Assert.IsNotNull(obj);
83 DataObject numObj = null;
84 Assert.DoesNotThrow(() => numObj = obj.AsInteger());
85 Assert.IsNotNull(numObj);
86 Assert.IsTrue(numObj.IsNull);
static readonly SqlNull Value
void Deveel.Data.BooleanObjectTest.Convert_True_ToNumber |
( |
| ) |
|
|
inline |
Definition at line 34 of file BooleanObjectTest.cs.
35 var obj = DataObject.Boolean(
true);
36 Assert.IsNotNull(obj);
38 Assert.AreEqual(
true, (
bool)obj.AsBoolean());
40 DataObject numObj = null;
41 Assert.DoesNotThrow(() => numObj = obj.AsInteger());
42 Assert.IsNotNull(numObj);
43 Assert.AreEqual(1, (
int) numObj);
void Deveel.Data.BooleanObjectTest.Create_False |
( |
| ) |
|
|
inline |
Definition at line 47 of file BooleanObjectTest.cs.
48 var obj = DataObject.Boolean(
false);
49 Assert.IsNotNull(obj);
51 Assert.AreEqual(
false, (
bool)obj.AsBoolean());
void Deveel.Data.BooleanObjectTest.Create_Null |
( |
| ) |
|
|
inline |
Definition at line 68 of file BooleanObjectTest.cs.
69 var obj = DataObject.BooleanNull;
70 Assert.IsNotNull(obj);
72 Assert.IsTrue(obj.IsNull);
static readonly SqlNull Value
void Deveel.Data.BooleanObjectTest.Create_True |
( |
| ) |
|
|
inline |
Definition at line 26 of file BooleanObjectTest.cs.
27 var obj = DataObject.Boolean(
true);
28 Assert.IsNotNull(obj);
30 Assert.AreEqual(
true, (
bool)obj.AsBoolean());
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-nunit/Deveel.Data/BooleanObjectTest.cs